Merge pull request #58 from skalenetwork/dependabot/npm_and_yarn/type… #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: [push, pull_request] | |
env: | |
NODE_VERSION: 20 | |
PYTHON_VERSION: 3.11 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: 'yarn' | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: 'pip' | |
cache-dependency-path: scripts/requirements.txt | |
- name: Install project | |
run: yarn | |
- name: Install slither | |
run: pip3 install -r scripts/requirements.txt | |
- name: Show slither version | |
run: slither --version | |
- name: Check spelling | |
run: yarn cspell | |
- name: lint | |
run: yarn fullCheck |