mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 00:09:33 +03:00
d4d8f6d902
This ensures that we only one set of workflows is running for an active GH ref (usually a PR). Stale workflows will be term'd when a new one associated with the same PR is kicked off. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
29 lines
531 B
YAML
29 lines
531 B
YAML
on: [pull_request]
|
|
|
|
name: SpellCheck
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
|
|
jobs:
|
|
spell-check:
|
|
name: spell check
|
|
runs-on: [self-hosted, linux]
|
|
timeout-minutes: 10
|
|
env:
|
|
FORCE_COLOR: 1
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
clean: "true"
|
|
|
|
- name: Earthly version
|
|
run: earthly --version
|
|
|
|
- name: install spell checker, do spell check
|
|
run: ./ci/safe-earthly.sh +check-typos
|