We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40a8f89 commit 79a2ef1Copy full SHA for 79a2ef1
1 file changed
.github/workflows/test-build.yml
@@ -62,6 +62,8 @@ jobs:
62
63
- name: Install Rust
64
uses: dtolnay/rust-toolchain@stable
65
+ with:
66
+ toolchain: 1.93.0
67
68
- name: Add musl target
69
run: rustup target add x86_64-unknown-linux-musl
@@ -72,17 +74,10 @@ jobs:
72
74
sudo apt-get install -y musl-tools
73
75
76
- name: Cache Rust dependencies
- uses: actions/cache@v4
77
+ uses: Swatinem/rust-cache@v2
78
with:
- path: |
- ~/.cargo/bin/
79
- ~/.cargo/registry/index/
80
- ~/.cargo/registry/cache/
81
- ~/.cargo/git/db/
82
- anycode-backend/target/
83
- key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
84
- restore-keys: |
85
- ${{ runner.os }}-cargo-
+ workspaces: |
+ anycode-backend -> target
86
87
- name: Build Linux x86_64 musl binary (test)
88
working-directory: ./anycode-backend
0 commit comments