Skip to content

Commit 2b83f08

Browse files
JohnTitorrobjtede
andauthored
Use old cargo-hack for 1.59.0 CI (#472)
* Use old cargo-hack for 1.57.0 CI Signed-off-by: Yuki Okushi <jtitor@2k36.org> * Upgrade MSRV to 1.59.0 Signed-off-by: Yuki Okushi <jtitor@2k36.org> Signed-off-by: Yuki Okushi <jtitor@2k36.org> Co-authored-by: Rob Ede <robjtede@icloud.com>
1 parent 8e9401f commit 2b83f08

File tree

13 files changed

+21
-16
lines changed

13 files changed

+21
-16
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- { name: Windows (MinGW), os: windows-latest, triple: x86_64-pc-windows-gnu }
1919
- { name: Windows (32-bit), os: windows-latest, triple: i686-pc-windows-msvc }
2020
version:
21-
- 1.57.0
21+
- 1.59.0
2222
- stable
2323

2424
name: ${{ matrix.target.name }} / ${{ matrix.version }}
@@ -68,10 +68,13 @@ jobs:
6868
# uses: Swatinem/rust-cache@v1.2.0
6969

7070
- name: Install cargo-hack
71-
uses: actions-rs/cargo@v1
72-
with:
73-
command: install
74-
args: cargo-hack
71+
if: matrix.version != '1.59.0'
72+
run: cargo install cargo-hack
73+
74+
# newer cargo-hack versions require 1.60 or above
75+
- name: Install cargo-hack (1.59.0)
76+
if: matrix.version == '1.59.0'
77+
run: cargo install cargo-hack --version=0.5.21
7578

7679
- name: Generate Cargo.lock
7780
uses: actions-rs/cargo@v1
@@ -123,7 +126,7 @@ jobs:
123126
sudo bash -c "ulimit -Sl 512 && ulimit -Hl 512 && PATH=$PATH:/usr/share/rust/.cargo/bin && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test-linux"
124127
125128
- name: Clear the cargo caches
126-
if: matrix.version == 'stable' # MSRV(1.58) cargo-cache now fails to install on 1.57
129+
if: matrix.version == 'stable' # MSRV(1.58) cargo-cache now fails to install on 1.59
127130
run: |
128131
cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean
129132
cargo-cache

actix-codec/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changes
22

33
## Unreleased - 2022-xx-xx
4-
- Minimum supported Rust version (MSRV) is now 1.57.
4+
- Minimum supported Rust version (MSRV) is now 1.59.
55

66

77
## 0.5.1 - 2022-03-15

actix-macros/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changes
22

33
## Unreleased - 2022-xx-xx
4-
- Minimum supported Rust version (MSRV) is now 1.57.
4+
- Minimum supported Rust version (MSRV) is now 1.59.
55

66

77
## 0.2.3 - 2021-10-19

actix-rt/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Unreleased - 2022-xx-xx
44
- Add `#[track_caller]` attribute to `spawn` functions and methods. [#454]
5-
- Minimum supported Rust version (MSRV) is now 1.57.
5+
- Minimum supported Rust version (MSRV) is now 1.59.
66

77
[#454]: https://github.com/actix/actix-net/pull/454
88

actix-server/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changes
22

33
## Unreleased - 2022-xx-xx
4-
- Minimum supported Rust version (MSRV) is now 1.57.
4+
- Minimum supported Rust version (MSRV) is now 1.59.
55

66

77
## 2.1.1 - 2022-03-09

actix-service/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changes
22

33
## Unreleased - 2022-xx-xx
4-
- Minimum supported Rust version (MSRV) is now 1.57.
4+
- Minimum supported Rust version (MSRV) is now 1.59.
55

66

77
## 2.0.2 - 2021-12-18

actix-tls/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changes
22

33
## Unreleased - 2022-xx-xx
4-
- Minimum supported Rust version (MSRV) is now 1.57.
4+
- Minimum supported Rust version (MSRV) is now 1.59.
55

66

77
## 3.0.4 - 2022-03-15

actix-tracing/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changes
22

33
## Unreleased - 2022-xx-xx
4-
- Minimum supported Rust version (MSRV) is now 1.57.
4+
- Minimum supported Rust version (MSRV) is now 1.59.
55

66

77
## 0.1.0 - 2020-01-15

actix-utils/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changes
22

33
## Unreleased - 2022-xx-xx
4+
- Minimum supported Rust version (MSRV) is now 1.59.
45

56

67
## 3.0.1 - 2022-10-21

bytestring/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changes
22

33
## Unreleased - 2022-xx-xx
4+
- Minimum supported Rust version (MSRV) is now 1.59.
45

56

67
## 1.2.1 - 2022-11-12

0 commit comments

Comments
 (0)