47f63b2461
Bumps the all-actions group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) Updates `codecov/codecov-action` from 6 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-actions - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-actions ... Signed-off-by: dependabot[bot] <support@github.com>
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
name: Scheduled
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 6 * * *" # Daily at 6:00 UTC
|
|
workflow_dispatch: # Allow manual trigger
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
# Check if crate compiles on beta/nightly with current Cargo.lock
|
|
rust-channels:
|
|
name: Rust ${{ matrix.rust }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
rust: [beta, nightly]
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Install Rust ${{ matrix.rust }}
|
|
run: |
|
|
rustup override set ${{ matrix.rust }}
|
|
rustup update ${{ matrix.rust }}
|
|
- uses: Swatinem/rust-cache@v2
|
|
- name: Check compilation
|
|
run: cargo check --all-features --all-targets
|
|
- name: Run tests
|
|
run: cargo test --all-features
|
|
|
|
# Check if crate compiles with latest dependencies
|
|
latest-deps:
|
|
name: Latest Deps (${{ matrix.rust }})
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
rust: [stable, beta, nightly]
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Install Rust ${{ matrix.rust }}
|
|
run: |
|
|
rustup override set ${{ matrix.rust }}
|
|
rustup update ${{ matrix.rust }}
|
|
- uses: Swatinem/rust-cache@v2
|
|
- name: Update dependencies
|
|
run: cargo update
|
|
- name: Check compilation
|
|
run: cargo check --all-features --all-targets
|
|
- name: Run tests
|
|
run: cargo test --all-features
|