Skip to content

Commit 9c2982a

Browse files
dmidemvivek-arte
authored andcommitted
CI: pin syn to keep rustc 1.70 compatibility
1 parent 16d22a5 commit 9c2982a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ jobs:
7979
- name: Add target
8080
working-directory: ./ci-build
8181
run: rustup target add ${{ matrix.target }}
82-
- name: Pin unicode-ident to version compatible with rustc 1.70
82+
- name: Pin deps to versions compatible with rustc 1.70
8383
working-directory: ./ci-build
84-
run: cargo update -p unicode-ident --precise 1.0.22
84+
run: |
85+
cargo update -p unicode-ident --precise 1.0.12
86+
cargo update -p syn --precise 2.0.114
8587
- name: Build no_std for target
8688
working-directory: ./ci-build
8789
run: cargo build --verbose --target ${{ matrix.target }}

.github/workflows/lints-stable.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ jobs:
5656
- name: Add target
5757
working-directory: ./ci-build
5858
run: rustup target add ${{ matrix.target }}
59-
- name: Pin unicode-ident to version compatible with rustc 1.70
59+
- name: Pin deps to versions compatible with rustc 1.70
6060
working-directory: ./ci-build
61-
run: cargo update -p unicode-ident --precise 1.0.22
61+
run: |
62+
cargo update -p unicode-ident --precise 1.0.12
63+
cargo update -p syn --precise 2.0.114
6264
- name: Clippy no_std for target
6365
working-directory: ./ci-build
6466
run: cargo clippy --verbose --target ${{ matrix.target }}

0 commit comments

Comments
 (0)