Skip to content

Commit ec7a6a6

Browse files
Merge pull request #1331 from charlespierce/pin_rust_version
Pin Rust to 1.63 to maintain compatibility with old CentOS versions
2 parents 00acf92 + fad5024 commit ec7a6a6

5 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/api-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions-rs/toolchain@v1
1919
with:
2020
profile: minimal
21-
toolchain: stable
21+
toolchain: 1.63
2222
override: true
2323
- name: Build docs
2424
uses: actions-rs/cargo@v1

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions-rs/toolchain@v1
3737
with:
3838
profile: minimal
39-
toolchain: stable
39+
toolchain: 1.63
4040
override: true
4141
- name: Compile and package Volta
4242
run: ./ci/build-macos-x86_64.sh volta-macos
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions-rs/toolchain@v1
5757
with:
5858
profile: minimal
59-
toolchain: stable
59+
toolchain: 1.63
6060
target: aarch64-apple-darwin
6161
override: true
6262
- name: Compile and package Volta
@@ -77,7 +77,7 @@ jobs:
7777
uses: actions-rs/toolchain@v1
7878
with:
7979
profile: minimal
80-
toolchain: stable
80+
toolchain: 1.63
8181
override: true
8282
- name: Add cargo-wix subcommand
8383
uses: actions-rs/cargo@v1

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions-rs/toolchain@v1
2828
with:
2929
profile: minimal
30-
toolchain: stable
30+
toolchain: 1.63
3131
override: true
3232
components: clippy
3333
- name: Run tests
@@ -57,7 +57,7 @@ jobs:
5757
uses: actions-rs/toolchain@v1
5858
with:
5959
profile: minimal
60-
toolchain: stable
60+
toolchain: 1.63
6161
override: true
6262
- name: Run tests
6363
uses: actions-rs/cargo@v1
@@ -86,7 +86,7 @@ jobs:
8686
uses: actions-rs/toolchain@v1
8787
with:
8888
profile: minimal
89-
toolchain: stable
89+
toolchain: 1.63
9090
override: true
9191
components: rustfmt
9292
- name: Run check

ci/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/
1212
RUN yum -y install devtoolset-2-gcc devtoolset-2-binutils
1313

1414
# Install Rust toolchain
15-
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
15+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.63
1616
ENV PATH="/root/.cargo/bin:${PATH}"

rust-toolchain.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[toolchain]
2+
channel = "1.63"
3+
profile = "minimal"

0 commit comments

Comments
 (0)