Skip to content

Commit

Permalink
Update rust and time dependency
Browse files Browse the repository at this point in the history
commit-id:98db13ab
  • Loading branch information
kkawula committed Jan 16, 2025
1 parent fb5dd26 commit 7a64334
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
# Hack for Rust 1.80 - type inference went crazy and didn't allow to build a library
- run: rustup default 1.79.0
- run: cargo test --release

rustfmt:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
# Hack for Rust 1.79 - rustfmt is just not there?
- run: rustup component add rustfmt
- run: cargo fmt --check

clippy:
Expand All @@ -39,10 +35,8 @@ jobs:
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.79.0
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
# Hack for Rust 1.79 - clippy is just not there?
- run: rustup component add clippy
- run: cargo lint

typos:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7
- uses: dtolnay/rust-toolchain@stable
with:
# Hack for Rust 1.80 - type inference went crazy and didn't allow to build a library
toolchain: 1.79.0
target: ${{ matrix.target }}

- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions rust-toolchain.toml

This file was deleted.

0 comments on commit 7a64334

Please sign in to comment.