Skip to content

Commit

Permalink
Merge pull request #609 from Milo123459/ci-caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Milo123459 committed Oct 26, 2021
2 parents 1e49400 + 9c7eee4 commit f4f5c2f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Expand Up @@ -17,6 +17,7 @@ jobs:
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- name: Lint
run: bash ci/lint.sh
- name: Run ShellCheck
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-release.yml
Expand Up @@ -46,6 +46,7 @@ jobs:
with:
toolchain: ${{ matrix.rust_version }}
override: true
- uses: Swatinem/rust-cache@v1

- name: Build and Test
run: bash ci/github.sh
Expand All @@ -69,6 +70,7 @@ jobs:
toolchain: stable
target: thumbv6m-none-eabi
override: true
- uses: Swatinem/rust-cache@v1

- name: Build no_std lib
run: cargo build --target thumbv6m-none-eabi --color=always
Expand All @@ -90,6 +92,7 @@ jobs:
toolchain: stable
target: wasm32-unknown-unknown
override: true
- uses: Swatinem/rust-cache@v1

- name: Install node
uses: actions/setup-node@v1
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -55,6 +55,7 @@ jobs:
toolchain: ${{ matrix.rust_version }}
override: true

- uses: Swatinem/rust-cache@v1
- name: Build and Test
run: bash ci/github.sh
env:
Expand All @@ -78,6 +79,7 @@ jobs:
toolchain: stable
target: thumbv6m-none-eabi
override: true
- uses: Swatinem/rust-cache@v1

- name: Build no_std lib
run: cargo build --target thumbv6m-none-eabi --color=always
Expand All @@ -99,6 +101,7 @@ jobs:
toolchain: stable
target: wasm32-unknown-unknown
override: true
- uses: Swatinem/rust-cache@v1

- name: Install node
uses: actions/setup-node@v1
Expand Down Expand Up @@ -130,6 +133,8 @@ jobs:
- name: Install cross
run: bash ci/install-cross.sh

- uses: Swatinem/rust-cache@v1

- name: Build static library
run: cross check --target ${{ matrix.target }}

Expand Down

0 comments on commit f4f5c2f

Please sign in to comment.