Skip to content

Commit be84d13

Browse files
committed
ci: Update RUSTFLAGS to attempt to resolve cache issues
Our cache does not seem to be working. rust-cache takes RUSTFLAGS into account, so it is possible that there is a problem due to it getting set dynamically. This is more than likely not the cause, but it is worth a try and is cleaner anyway.
1 parent 89e0ff1 commit be84d13

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ jobs:
6161
TOOLCHAIN: ${{ matrix.toolchain }}
6262
steps:
6363
- uses: actions/checkout@v4
64-
# Remove `-Dwarnings` at the MSRV since lints may be different or buffier
65-
- name: Update RUSTFLAGS
66-
run: |
67-
set -eux
68-
[ "${{ matrix.toolchain }}" = "1.63.0" ] && echo 'RUSTFLAGS=' >> "$GITHUB_ENV" || true
69-
7064
- name: Setup Rust toolchain
7165
run: ./ci/install-rust.sh
7266

@@ -84,7 +78,11 @@ jobs:
8478
run: du -sh target | sort -k 2 || true
8579

8680
- name: Execute build.sh
87-
run: ./ci/verify-build.sh
81+
run: |
82+
set -eux
83+
# Remove `-Dwarnings` at the MSRV since lints may be different
84+
[ "${{ matrix.toolchain }}" = "1.63.0" ] && export RUSTFLAGS=""
85+
./ci/verify-build.sh
8886
- name: Target size after job completion
8987
run: du -sh target | sort -k 2
9088

0 commit comments

Comments
 (0)