Skip to content

Merge pull request #647 from ava-labs/staking-rewards-to-any #2944

Merge pull request #647 from ava-labs/staking-rewards-to-any

Merge pull request #647 from ava-labs/staking-rewards-to-any #2944

Workflow file for this run

name: Linter
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
solhint:
runs-on: ubuntu-22.04
steps:
- name: Checkout teleporter
uses: actions/checkout@v4
- name: Install solhint
run: |
npm install solhint -g
solhint --version
- name: Run Lint
run: ./scripts/lint.sh --sol-lint
golangci:
runs-on: ubuntu-22.04
steps:
- name: Checkout repositories and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run Lint
run: ./scripts/lint.sh --go-lint
format-solidity:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
run: ./scripts/install_foundry.sh
- name: Check Solidity Formatting
run: |
export PATH=$PATH:$HOME/.foundry/bin
./scripts/lint.sh --sol-format-check