Skip to content

Commit

Permalink
Update CI & cargo update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Oct 31, 2023
1 parent 1bb40d8 commit 556f7d8
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 186 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ jobs:
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
steps:
- run: rustup update stable
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: cargo test --locked
# check print-completions don't fail
- run: cargo run --locked -- print-completions bash
Expand All @@ -25,15 +24,14 @@ jobs:
runs-on: windows-latest
env:
RUST_BACKTRACE: 1
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
steps:
- run: rustup update stable
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: cargo check

rustfmt:
runs-on: ubuntu-latest
steps:
- run: rustup update stable
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: cargo fmt -- --check
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ jobs:
win-bin:
name: Build Windows binary
runs-on: windows-latest
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
steps:
- run: rustup update stable
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: cargo build --release --locked
- uses: svenstaro/upload-release-action@v2
with:
Expand Down
Loading

0 comments on commit 556f7d8

Please sign in to comment.