mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
Merge pull request #102 from rustic-rs/ci-update-rust-cache
CI: update rust-cache
This commit is contained in:
commit
bdf38f5b07
4
.github/workflows/check-and-lint.yaml
vendored
4
.github/workflows/check-and-lint.yaml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
@ -49,7 +49,7 @@ jobs:
|
||||
toolchain: stable
|
||||
components: clippy
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
@ -1,6 +1,8 @@
|
||||
on:
|
||||
push:
|
||||
|
||||
name: Build release binaries
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: Publishing ${{ matrix.job.target }}
|
||||
@ -57,7 +59,9 @@ jobs:
|
||||
sudo apt update
|
||||
sudo apt-get install -y musl-tools
|
||||
fi
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: ${{ matrix.job.target }}
|
||||
- name: Cargo build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
@ -151,7 +155,9 @@ jobs:
|
||||
# toolchain: stable
|
||||
# profile: minimal
|
||||
# override: true
|
||||
# - uses: Swatinem/rust-cache@v1
|
||||
# - uses: Swatinem/rust-cache@v2
|
||||
# with:
|
||||
# key: ${{ matrix.job.target }}
|
||||
# - uses: actions-rs/cargo@v1
|
||||
# with:
|
||||
# command: publish
|
||||
|
||||
5
.github/workflows/tests.yaml
vendored
5
.github/workflows/tests.yaml
vendored
@ -4,7 +4,6 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
|
||||
name: Tests
|
||||
|
||||
jobs:
|
||||
@ -18,7 +17,7 @@ jobs:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
@ -34,7 +33,7 @@ jobs:
|
||||
toolchain: stable
|
||||
overrideo: true
|
||||
target: x86_64-apple-darwin
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
|
||||
Loading…
Reference in New Issue
Block a user