fix: permit signature verification #103
Workflow file for this run
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: ci | |
on: push | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: ci | |
runs-on: ubuntu-latest | |
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow | |
permissions: | |
id-token: write | |
packages: read | |
contents: read | |
security-events: write | |
env: | |
ETH_MAINNET_RPC_URL: ${{ secrets.ETH_MAINNET_RPC_URL }} | |
ETH_SEPOLIA_RPC_URL: ${{ secrets.ETH_SEPOLIA_RPC_URL }} | |
BASE_MAINNET_RPC_URL: ${{ secrets.BASE_MAINNET_RPC_URL }} | |
BASE_SEPOLIA_RPC_URL: ${{ secrets.BASE_SEPOLIA_RPC_URL }} | |
AURORA_MAINNET_RPC_URL: ${{ secrets.AURORA_MAINNET_RPC_URL}} | |
AURORA_TESTNET_RPC_URL: ${{ secrets.AURORA_TESTNET_RPC_URL}} | |
container: | |
image: ghcr.io/nayms/contracts-builder:latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
- name: Install solc | |
run: svm install 0.8.24 && svm use 0.8.24 | |
- name: Fix ownership | |
run: git config --global --add safe.directory /__w/naym-coin/naym-coin | |
- name: Install NPM packages | |
run: yarn install | |
- name: Compile | |
run: yarn build | |
id: build | |
- name: Run tests with coverage | |
run: yarn test-coverage | |
id: test | |
- name: Upload coverage report to Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |