diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9dee4a..75eaa5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,17 +68,12 @@ jobs: msrv: runs-on: ubuntu-latest - strategy: - matrix: - # When updating this, the reminder to update the minimum supported - # Rust version in Cargo.toml. - rust: ['1.59'] steps: - uses: actions/checkout@v4 - - name: Install Rust - run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} - - run: cargo build --all - - run: cargo build --all --no-default-features + - name: Install cargo-hack + uses: taiki-e/install-action@cargo-hack + - run: cargo hack build --all --rust-version + - run: cargo hack build --all --no-default-features --rust-version clippy: runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index 0903fe8..4768f7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,9 +2,9 @@ name = "event-listener-strategy" # Make sure to update CHANGELOG.md when the version is bumped here. version = "0.4.0" -edition = "2018" +edition = "2021" authors = ["John Nunley "] -rust-version = "1.59" +rust-version = "1.60" description = "Block or poll on event_listener easily" license = "Apache-2.0 OR MIT" repository = "https://github.com/smol-rs/event-listener"