diff options
author | Roy Ivy III <rivy.dev@gmail.com> | 2019-12-01 20:15:51 -0600 |
---|---|---|
committer | Pierre Peltier <dev@halium.fr> | 2019-12-04 11:09:11 +0100 |
commit | b7adc55b54ffccf95c79f5791e0587e0eb5c3e3a (patch) | |
tree | fd55cdba745e1e4af737b6508f04250bbd9d07ec | |
parent | 41362225762eb4c16af07c5e0ffe65e5345eef16 (diff) |
maint/cicd ~ add GHA:MinSRV
-rw-r--r-- | .github/workflows/CICD.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 3303a17..a0344f5 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -6,6 +6,7 @@ env: PROJECT_NAME: lsd PROJECT_DESC: "An ls command with a lot of pretty colors." PROJECT_AUTH: "Peltoche <peltoche@halium.fr>" + RUST_MIN_SRV: "1.31.0" on: [push, pull_request] @@ -37,6 +38,21 @@ jobs: command: clippy args: -- -D warnings + min_version: + name: MinSRV # Minimum supported rust version + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Install `rust` toolchain (v${{ env.RUST_MIN_SRV }}) + uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ env.RUST_MIN_SRV }} + profile: minimal # minimal component installation (ie, no documentation) + - name: Test + uses: actions-rs/cargo@v1 + with: + command: test + build: name: Build runs-on: ${{ matrix.os }} |