diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c9e1c8..ea179bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,22 +10,22 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install supported Rust toolchain - run: rustup toolchain install 1.88.0 --profile minimal --component clippy,rustfmt + run: rustup toolchain install 1.95.0 --profile minimal --component clippy,rustfmt - name: Format - run: cargo +1.88.0 fmt --check + run: cargo +1.95.0 fmt --check - name: Lint all targets and features - run: cargo +1.88.0 clippy --locked --all-targets --all-features -- -D warnings + run: cargo +1.95.0 clippy --locked --all-targets --all-features -- -D warnings - name: Test without backends - run: cargo +1.88.0 test --locked --no-default-features + run: cargo +1.95.0 test --locked --no-default-features - name: Check README doctest and example - run: cargo +1.88.0 test --locked --doc && cargo +1.88.0 run --locked --no-default-features --example counter + run: cargo +1.95.0 test --locked --doc && cargo +1.95.0 run --locked --no-default-features --example counter backends: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install supported Rust toolchain - run: rustup toolchain install 1.88.0 --profile minimal + run: rustup toolchain install 1.95.0 --profile minimal - name: Start test services run: | cp .env.example .env @@ -41,9 +41,9 @@ jobs: docker compose ps exit 1 - name: Test default backends - run: cargo +1.88.0 test --locked + run: cargo +1.95.0 test --locked - name: Test every backend - run: cargo +1.88.0 test --locked --all-features + run: cargo +1.95.0 test --locked --all-features - name: Stop test services if: always() run: docker compose down diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 017ef30..698e397 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,11 +19,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install supported Rust toolchain - run: rustup toolchain install 1.88.0 --profile minimal + run: rustup toolchain install 1.95.0 --profile minimal - name: Verify run: | TAG="${GITHUB_REF_NAME#v}" - VERSION=$(cargo +1.88.0 metadata --no-deps --format-version 1 \ + VERSION=$(cargo +1.95.0 metadata --no-deps --format-version 1 \ | jq -r '.packages[0].version') if [ "$TAG" != "$VERSION" ]; then echo "::error::tag v$TAG does not match Cargo.toml version $VERSION" @@ -40,15 +40,15 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install supported Rust toolchain - run: rustup toolchain install 1.88.0 --profile minimal --component clippy,rustfmt + run: rustup toolchain install 1.95.0 --profile minimal --component clippy,rustfmt - name: Format - run: cargo +1.88.0 fmt --check + run: cargo +1.95.0 fmt --check - name: Lint all targets and features - run: cargo +1.88.0 clippy --locked --all-targets --all-features -- -D warnings + run: cargo +1.95.0 clippy --locked --all-targets --all-features -- -D warnings - name: Test without backends - run: cargo +1.88.0 test --locked --no-default-features + run: cargo +1.95.0 test --locked --no-default-features - name: Check README doctest and example - run: cargo +1.88.0 test --locked --doc && cargo +1.88.0 run --locked --no-default-features --example counter + run: cargo +1.95.0 test --locked --doc && cargo +1.95.0 run --locked --no-default-features --example counter backends: name: backend integration tests @@ -56,7 +56,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install supported Rust toolchain - run: rustup toolchain install 1.88.0 --profile minimal + run: rustup toolchain install 1.95.0 --profile minimal - name: Start test services run: | cp .env.example .env @@ -72,9 +72,9 @@ jobs: docker compose ps exit 1 - name: Test default backends - run: cargo +1.88.0 test --locked + run: cargo +1.95.0 test --locked - name: Test every backend - run: cargo +1.88.0 test --locked --all-features + run: cargo +1.95.0 test --locked --all-features - name: Stop test services if: always() run: docker compose down @@ -88,6 +88,6 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install supported Rust toolchain - run: rustup toolchain install 1.88.0 --profile minimal + run: rustup toolchain install 1.95.0 --profile minimal - name: Publish epoch-journal - run: cargo +1.88.0 publish + run: cargo +1.95.0 publish