roc/.github/workflows/alwayscheck.yml
Anton-4 9090fa4f97
update link checker script (#8242)
update link checker
2025-09-09 17:00:59 +02:00

44 lines
1 KiB
YAML

on:
pull_request:
name: SpellCheck+LinkCheck
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Do not add permissions here! Configure them at the job level!
permissions: {}
env:
RUST_BACKTRACE: 1
jobs:
spell-link-check:
name: spell and md link check
runs-on: [ubuntu-24.04]
timeout-minutes: 20
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v4
- run: rm rust-toolchain.toml
- run: cargo install typos-cli --version 1.32.0
- name: do spell check with typos-cli 1.32.0
run: typos
- name: setup Roc
run: |
curl -s -OL https://github.com/roc-lang/roc/releases/download/alpha4-rolling/roc-linux_x86_64-alpha4-rolling.tar.gz
tar -xf roc-linux_x86_64-alpha4-rolling.tar.gz
rm roc-linux_x86_64-alpha4-rolling.tar.gz
cd roc_nightly-*
# make roc binary available
echo "$(pwd)" >> $GITHUB_PATH
- run: roc version
- run: roc ./ci/glossary-link-checker.roc