Use typed exposed item targets #6140
This file contains hidden or 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
| 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: | |
| spellcheck: | |
| name: Spellcheck | |
| runs-on: [ubuntu-24.04] | |
| timeout-minutes: 20 | |
| env: | |
| FORCE_COLOR: 1 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - run: cargo install typos-cli --version 1.44.0 | |
| - name: do spell check with typos-cli 1.44.0 | |
| run: typos | |
| markdown-link-check: | |
| name: Markdown link check | |
| runs-on: [ubuntu-24.04] | |
| timeout-minutes: 20 | |
| env: | |
| FORCE_COLOR: 1 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Set up 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 |