Skip to content

Commit 3b17052

Browse files
committed
Try to fix CI caching
1 parent 89e0ff1 commit 3b17052

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 8 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

@@ -82,9 +76,12 @@ jobs:
8276
key: ${{ matrix.os }}-${{ matrix.toolchain }}
8377
- name: Target size after restoring cache
8478
run: du -sh target | sort -k 2 || true
85-
8679
- name: Execute build.sh
87-
run: ./ci/verify-build.sh
80+
run: |
81+
set -eux
82+
# Remove `-Dwarnings` at the MSRV since lints may be different
83+
[ "${{ matrix.toolchain }}" = "1.63.0" ] && export RUSTFLAGS=""
84+
./ci/verify-build.sh
8885
- name: Target size after job completion
8986
run: du -sh target | sort -k 2
9087

0 commit comments

Comments
 (0)