Update docs
This commit is contained in:
11
.github/actions/gas-compare/action.yml
vendored
11
.github/actions/gas-compare/action.yml
vendored
@ -2,18 +2,18 @@ name: Compare gas costs
|
||||
description: Compare gas costs between branches
|
||||
inputs:
|
||||
token:
|
||||
description: github token
|
||||
description: GitHub token, required to access GitHub API
|
||||
required: true
|
||||
report:
|
||||
description: report to read from
|
||||
description: Path to the report to compare
|
||||
required: false
|
||||
default: gasReporterOutput.json
|
||||
out_report:
|
||||
description: report to read
|
||||
description: Path to save the output report
|
||||
required: false
|
||||
default: ${{ github.ref_name }}.gasreport.json
|
||||
ref_report:
|
||||
description: report to read from
|
||||
description: Path to the reference report for comparison
|
||||
required: false
|
||||
default: ${{ github.base_ref }}.gasreport.json
|
||||
|
||||
@ -44,7 +44,8 @@ runs:
|
||||
shell: bash
|
||||
- name: Save report
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: gasreport
|
||||
overwrite: true
|
||||
path: ${{ inputs.out_report }}
|
||||
|
||||
2
.github/actions/setup/action.yml
vendored
2
.github/actions/setup/action.yml
vendored
@ -19,4 +19,4 @@ runs:
|
||||
- name: Install Foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
with:
|
||||
version: nightly
|
||||
version: stable
|
||||
|
||||
3
.github/actions/storage-layout/action.yml
vendored
3
.github/actions/storage-layout/action.yml
vendored
@ -50,7 +50,8 @@ runs:
|
||||
shell: bash
|
||||
- name: Save artifacts
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: layout
|
||||
overwrite: true
|
||||
path: ${{ inputs.out_layout }}
|
||||
|
||||
8
.github/workflows/checks.yml
vendored
8
.github/workflows/checks.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
run: npm run test:inheritance
|
||||
- name: Check pragma consistency between files
|
||||
run: npm run test:pragma
|
||||
- name: Check proceduraly generated contracts are up-to-date
|
||||
- name: Check procedurally generated contracts are up-to-date
|
||||
run: npm run test:generation
|
||||
- name: Compare gas costs
|
||||
uses: ./.github/actions/gas-compare
|
||||
@ -97,7 +97,7 @@ jobs:
|
||||
uses: ./.github/actions/setup
|
||||
- name: Run coverage
|
||||
run: npm run coverage
|
||||
- uses: codecov/codecov-action@v4
|
||||
- uses: codecov/codecov-action@v5
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
@ -118,11 +118,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up environment
|
||||
uses: ./.github/actions/setup
|
||||
- run: rm foundry.toml
|
||||
- uses: crytic/slither-action@v0.4.0
|
||||
with:
|
||||
node-version: 18.15
|
||||
slither-version: 0.10.1
|
||||
|
||||
codespell:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
2
.github/workflows/formal-verification.yml
vendored
2
.github/workflows/formal-verification.yml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
- name: Install python packages
|
||||
run: pip install -r fv-requirements.txt
|
||||
- name: Install java
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user