1717 runs-on : ubuntu-latest
1818 steps :
1919 - name : Checkout the Repository
20- uses : actions/checkout@v3
20+ uses : actions/checkout@v4
2121 - name : Install the Rust toolchain
2222 uses : actions-rs/toolchain@v1
2323 with :
5050 lock : ["Cargo.lock", "Cargo.lock.min"]
5151
5252 steps :
53- - uses : actions/checkout@v3
53+ - uses : actions/checkout@v4
5454 - name : Download the Cargo lockfiles
5555 uses : actions/download-artifact@v4
5656 with :
@@ -66,11 +66,14 @@ jobs:
6666 toolchain : ${{ matrix.rust }}
6767 profile : minimal
6868 override : true
69+ # Downgrade some dependencies for MSRV 1.64
70+ - run : |
71+ cargo update -p serde_bytes --precise 0.11.16
72+ cargo update -p indexmap --precise 2.5.0
73+ cargo update -p once_cell --precise 1.20.3
74+ if: ${{ matrix.rust == '1.64.0' }}
6975 - run : cargo test
7076 - run : cargo test --features integer128
71- # Downgrade the indexmap dependency for MSRV 1.64
72- - run : cargo update -p indexmap --precise 2.5.0
73- if : ${{ matrix.rust == '1.64.0' }}
7477 - run : cargo test --features indexmap
7578 - run : cargo test --all-features
7679
7982 runs-on : ubuntu-latest
8083 continue-on-error : true
8184 steps :
82- - uses : actions/checkout@v3
85+ - uses : actions/checkout@v4
8386 - uses : ./.github/actions/setup
8487 with :
8588 key : clippy-msrv
@@ -89,10 +92,13 @@ jobs:
8992 profile : minimal
9093 components : clippy
9194 override : true
95+ # Downgrade some dependencies for MSRV 1.64
96+ - run : |
97+ cargo update -p serde_bytes --precise 0.11.16
98+ cargo update -p indexmap --precise 2.5.0
99+ cargo update -p once_cell --precise 1.20.3
92100 - run : cargo clippy -- -D warnings
93101 - run : cargo clippy --features integer128 -- -D warnings
94- # Downgrade the indexmap dependency for MSRV 1.64
95- - run : cargo update -p indexmap --precise 2.5.0
96102 - run : cargo clippy --features indexmap -- -D warnings
97103 - run : cargo clippy --all-features -- -D warnings
98104
@@ -101,7 +107,7 @@ jobs:
101107 runs-on : ubuntu-latest
102108 continue-on-error : true
103109 steps :
104- - uses : actions/checkout@v3
110+ - uses : actions/checkout@v4
105111 - uses : ./.github/actions/setup
106112 with :
107113 key : clippy-fuzz
@@ -117,7 +123,7 @@ jobs:
117123 name : " Format: stable"
118124 runs-on : ubuntu-latest
119125 steps :
120- - uses : actions/checkout@v3
126+ - uses : actions/checkout@v4
121127 - uses : ./.github/actions/setup
122128 with :
123129 key : rustfmt-stable
@@ -134,7 +140,7 @@ jobs:
134140 name : " Coverage: stable"
135141 runs-on : ubuntu-latest
136142 steps :
137- - uses : actions/checkout@v3
143+ - uses : actions/checkout@v4
138144 - uses : ./.github/actions/setup
139145 with :
140146 key : coverage
@@ -185,7 +191,7 @@ jobs:
185191 # files: coverage.lcov
186192 # fail_ci_if_error: true
187193 - name : Deploy the code coverage report
188- uses : peaceiris/actions-gh-pages@v3
194+ uses : peaceiris/actions-gh-pages@v4
189195 with :
190196 github_token : ${{ secrets.GITHUB_TOKEN }}
191197 publish_dir : ./html
0 commit comments