Skip to content

Update GitHub Actions workflows to use checkout@v4 and enable caching… #1432

Update GitHub Actions workflows to use checkout@v4 and enable caching…

Update GitHub Actions workflows to use checkout@v4 and enable caching… #1432

Workflow file for this run

name: Build and test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: 18
cache: 'yarn'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
cache: 'pip'
- name: Install project
run: yarn
- name: Install slither
run: pip3 install -r scripts/requirements.txt
- name: Show slither version
run: slither --version
- name: Lint
run: yarn fullCheck