Skip to content

🔁 Bump deps

🔁 Bump deps #424

Workflow file for this run

name: 👮‍♂️ Sanity checks
on: [push, pull_request]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
prettify-n-lint:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
node_version:
- 18
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- name: Install npm project with a clean slate
run: npm ci --prefer-offline
- name: Prettier and lint
run: npm run lint:check
codespell:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run codespell
uses: codespell-project/actions-codespell@v2.0
with:
check_filenames: true
skip: ./.git,package-lock.json
validate-links:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
ruby-version:
- 3.2
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install awesome_bot
run: gem install awesome_bot
- name: Validate URLs
run: |
awesome_bot ./*.md contracts/*.sol --request-delay 0.4 \
--white-list https://hardhat.org,https://explorer.autobahn.network,https://testnet.autobahn-explorer.com,https://rinkeby.etherscan.io,https://ropsten.etherscan.io,https://kovan.etherscan.io,https://kovan-optimistic.etherscan.io,https://hyperspace.filfox.info