on master help sign in
Change MinSRV => Minimum supported Rust version
4b65e6esharkdp
.github/workflows/CICD.yml+4−4
@@ -4,20 +4,20 @@ env:
4 PROJECT_NAME: bat
4 PROJECT_NAME: bat
5 PROJECT_DESC: "A `cat` clone with wings"
5 PROJECT_DESC: "A `cat` clone with wings"
6 PROJECT_AUTH: "sharkdp"
6 PROJECT_AUTH: "sharkdp"
7− RUST_MIN_SRV: "1.40.0"
7+ MIN_SUPPORTED_RUST_VERSION: "1.40.0"
8
8
9on: [push, pull_request]
9on: [push, pull_request]
10
10
11jobs:
11jobs:
12 min_version:
12 min_version:
13− name: MinSRV # Minimum supported rust version
13+ name: Minimum supported rust version
14 runs-on: ubuntu-latest
14 runs-on: ubuntu-latest
15 steps:
15 steps:
16 - uses: actions/checkout@v1
16 - uses: actions/checkout@v1
17− - name: Install `rust` toolchain (v${{ env.RUST_MIN_SRV }})
17+ - name: Install `rust` toolchain (v${{ env.MIN_SUPPORTED_RUST_VERSION }})
18 uses: actions-rs/toolchain@v1
18 uses: actions-rs/toolchain@v1
19 with:
19 with:
20− toolchain: ${{ env.RUST_MIN_SRV }}
20+ toolchain: ${{ env.MIN_SUPPORTED_RUST_VERSION }}
21 default: true
21 default: true
22 profile: minimal # minimal component installation (ie, no documentation)
22 profile: minimal # minimal component installation (ie, no documentation)
23 - name: Test
23 - name: Test