Skip to content

Commit

Permalink
use grammars script in CI rather than submodule checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Jan 22, 2022
1 parent 0839488 commit 5f9a75e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: true

- name: Fetch grammars
run: ./scripts/grammars sync

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -53,8 +54,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: true

- name: Fetch grammars
run: ./scripts/grammars sync

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -97,8 +99,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: true

- name: Fetch grammars
run: ./scripts/grammars sync

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -144,8 +147,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: true

- name: Fetch grammars
run: ./scripts/grammars sync

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: true

- name: Fetch grammars
run: ./scripts/grammars sync

- name: Install ${{ matrix.rust }} toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -114,8 +115,9 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: false

- name: Fetch grammars
uses: ./scripts/grammars sync

- uses: actions/download-artifact@v2
# with:
Expand Down

0 comments on commit 5f9a75e

Please sign in to comment.