Skip to content

Commit

Permalink
Add MSRV
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Jul 27, 2023
1 parent 10bef51 commit d86b88e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Cargo install
run: cargo install --git ${{ github.server_url }}/${{ github.repository }} zepter --rev $GITHUB_SHA --locked
run: cargo install --git ${{ github.server_url }}/${{ github.repository }} zepter --rev $GITHUB_SHA --locked -q

- name: CLI works
run: zepter --version && zepter --help
23 changes: 23 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: MSRV

on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: self-hosted

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install MRRV
run: cargo install cargo-msrv --locked -q
- name: Verify MSRV
run: cargo msrv verify
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ authors = [ "Oliver Tale-Yazdi" ]
description = "Check if features are correctly propagated in your workspace."
license = "GPL-3.0-only"
repository = "https://github.com/ggwpez/zepter"
rust-version = "1.65"

[[bin]]
name = "zepter"
Expand Down

0 comments on commit d86b88e

Please sign in to comment.