mirror of
https://github.com/status-im/codex-contracts-eth.git
synced 2025-02-07 06:04:26 +00:00
ci: add ci job concurrency (#136)
* ci: add ci job concurrency * ci: update actions to the latest major versions
This commit is contained in:
parent
688a8ed929
commit
8b3761c1a7
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -2,6 +2,11 @@ name: CI
|
|||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
formatting:
|
formatting:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -36,12 +41,15 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with: { python-version: 3.9 }
|
with: { python-version: 3.9 }
|
||||||
|
|
||||||
- name: Install Java
|
- name: Install Java
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v4
|
||||||
with: { java-version: "11", java-package: jre }
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '11'
|
||||||
|
java-package: 'jre'
|
||||||
|
|
||||||
- name: Install Certora CLI
|
- name: Install Certora CLI
|
||||||
run: pip3 install certora-cli==7.6.3
|
run: pip3 install certora-cli==7.6.3
|
||||||
@ -52,17 +60,17 @@ jobs:
|
|||||||
chmod +x solc-static-linux
|
chmod +x solc-static-linux
|
||||||
sudo mv solc-static-linux /usr/local/bin/solc
|
sudo mv solc-static-linux /usr/local/bin/solc
|
||||||
|
|
||||||
- name: "Install Node.js"
|
- name: Install Node.js
|
||||||
uses: "actions/setup-node@v3"
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
cache: "npm"
|
cache: npm
|
||||||
node-version: "lts/*"
|
node-version: "lts/*"
|
||||||
|
|
||||||
- name: "Install the Node.js dependencies"
|
- name: Install the Node.js dependencies
|
||||||
run: "npm install"
|
run: npm install
|
||||||
|
|
||||||
- name: Verify rules
|
- name: Verify rules
|
||||||
run: "npm run verify"
|
run: npm run verify
|
||||||
env:
|
env:
|
||||||
CERTORAKEY: ${{ secrets.CERTORAKEY }}
|
CERTORAKEY: ${{ secrets.CERTORAKEY }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user