Skip to content

Commit

Permalink
chore(ci): only run spellcheck job on push (#858)
Browse files Browse the repository at this point in the history
* chore(ci): only run spellcheck job on push

* chore(ci): split spellcheck off into its own workflow
  • Loading branch information
TomAFrench authored Feb 16, 2023
1 parent ca986a4 commit 595e3c3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,4 @@ jobs:

format:
name: Cargo fmt
uses: noir-lang/.github/.github/workflows/rust-format.yml@main

spellcheck:
name: Spellcheck
uses: noir-lang/.github/.github/workflows/spellcheck.yml@main
uses: noir-lang/.github/.github/workflows/rust-format.yml@main
13 changes: 13 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Spellcheck

on: [push]

# This will cancel previous runs when a branch or PR is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
cancel-in-progress: true

jobs:
spellcheck:
name: Spellcheck
uses: noir-lang/.github/.github/workflows/spellcheck.yml@main

0 comments on commit 595e3c3

Please sign in to comment.