mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-15 06:22:47 +00:00
maint/cicd ~ add GHA:MinSRV
This commit is contained in:
parent
4136222576
commit
b7adc55b54
1 changed files with 16 additions and 0 deletions
16
.github/workflows/CICD.yml
vendored
16
.github/workflows/CICD.yml
vendored
|
@ -6,6 +6,7 @@ env:
|
||||||
PROJECT_NAME: lsd
|
PROJECT_NAME: lsd
|
||||||
PROJECT_DESC: "An ls command with a lot of pretty colors."
|
PROJECT_DESC: "An ls command with a lot of pretty colors."
|
||||||
PROJECT_AUTH: "Peltoche <peltoche@halium.fr>"
|
PROJECT_AUTH: "Peltoche <peltoche@halium.fr>"
|
||||||
|
RUST_MIN_SRV: "1.31.0"
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
@ -37,6 +38,21 @@ jobs:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: -- -D warnings
|
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:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
Loading…
Reference in a new issue