Skip to content

Commit

Permalink
ci(test.yml): update workflow to use rust nighlty latest
Browse files Browse the repository at this point in the history
  • Loading branch information
josueBarretogit committed Dec 26, 2024
1 parent 2fcb998 commit 8701c99
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
RUST_TOOLCHAIN_VERSION : "nightly"

jobs:
check_code_format_and_lint:
Expand All @@ -21,14 +22,19 @@ jobs:
- name: setup toolchain
uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly-2024-06-25
rust-version: ${{ env.RUST_TOOLCHAIN_VERSION }}

- name: install_dependencies
run: sudo apt install libdbus-1-dev pkg-config

- name: check-fmt
run: cargo fmt --check

- name: clippy
run: cargo clippy -- -D warnings



build_and_test:
strategy:
fail-fast: false
Expand All @@ -44,7 +50,7 @@ jobs:
- name: setup toolchain
uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly-2024-06-25
rust-version: ${{ env.RUST_TOOLCHAIN_VERSION }}

- name: check
run: cargo check --locked
Expand Down

0 comments on commit 8701c99

Please sign in to comment.