Skip to content

Commit

Permalink
ci: update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyc committed Jun 7, 2022
1 parent f55019d commit 93f2262
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/build.yml
Expand Up @@ -17,12 +17,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Cache
uses: actions/cache@v3
with:
key: ${{ runner.os }}-cache
path: |
~/.cargo
# Rust cache
- uses: Swatinem/rust-cache@v1

- run: |
sudo apt update
Expand Down Expand Up @@ -60,12 +56,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Cache
uses: actions/cache@v3
with:
key: ${{ runner.os }}-cache
path: |
~/.cargo
# Rust cache
- uses: Swatinem/rust-cache@v1

- name: Rust toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -92,12 +84,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Cache
uses: actions/cache@v3
with:
key: ${{ runner.os }}-cache
path: |
~/.cargo
# Rust cache
- uses: Swatinem/rust-cache@v1

- name: Rust toolchain
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 93f2262

Please sign in to comment.