chore: update npm to v20 #152
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: lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
awesome-lint: | |
strategy: | |
fail-fast: false | |
matrix: | |
files: | |
- "readme.md" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "checkout repo" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: asdf_install | |
uses: asdf-vm/actions/install@v3 | |
- name: "linting: ${{ matrix.files }}" | |
run: npx -y awesome-lint ${{ matrix.files }} | |
awesome-bot: | |
strategy: | |
fail-fast: false | |
matrix: | |
files: | |
- "readme.md" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "checkout repo" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "setup ruby" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0.1 | |
bundler-cache: true | |
- name: "install awesome-bot" | |
run: gem install awesome_bot | |
- name: "linting: ${{ matrix.files }}" | |
run: awesome_bot --allow 403 --allow-redirect --white-list github.com/rickstaa/awesome-adsb,adsb.lol ${{ matrix.files }} |