Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 12 additions & 19 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,40 +19,33 @@ jobs:
- macos-latest
rust:
- stable
- 1.73.0 # MSRV
- 1.78.0 # MSRV
include:
- os: ubuntu-latest
rust: stable
lint: 1
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
default: true
override: true
- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v1

- name: cargo check
run: cargo check

- name: cargo build
run: cargo build

- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features
run: cargo test

- name: rustfmt
if: github.event_name == 'pull_request' && matrix.lint
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check

- name: clippy
if: github.event_name == 'pull_request' && matrix.lint
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all --tests --all-features -- -D warnings
run: cargo clippy --all --tests -- -D warnings
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "xtask-watch"
version = "0.2.3"
edition = "2021"
rust-version = "1.73"
rust-version = "1.78"
license = "MIT OR Apache-2.0"
description = "A customizable helper to watch for changes in your projects using xtask."
homepage = "https://github.com/rustminded/xtask-wasm"
Expand All @@ -15,12 +15,12 @@ include = ["src/**/*.rs", "README.md", "LICENSE.Apache-2.0", "LICENSE.MIT"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.52"
cargo_metadata = "0.15.0"
clap = { version = "4.0.18", features = ["derive"] }
lazy_static = "1.4.0"
log = "0.4.14"
notify = "5.0.0"
anyhow = "1.0.95"
cargo_metadata = "0.19.1"
clap = { version = "4.5.28", features = ["derive"] }
lazy_static = "1.5.0"
log = "0.4.25"
notify = "8.0.0"

[target.'cfg(unix)'.dependencies]
libc = "0.2.112"
libc = "0.2.169"
Loading