Beta CI #349
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Beta CI | |
on: | |
schedule: | |
- cron: "11 7 * * 1,4" # At 07:11 AM, only on Monday and Thursday | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test-all: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: [beta] | |
services: | |
redis: # https://docs.github.com/en/actions/guides/creating-redis-service-containers | |
image: redis | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Rust Toolchain | |
run: | | |
rustup toolchain install ${{ matrix.rust }} --profile minimal --component clippy --no-self-update | |
rustup default ${{ matrix.rust }} | |
- name: Run Clippy | |
run: cargo clippy --workspace --all-targets --all-features --no-deps -- -D warnings | |
- name: Run Cargo Tests | |
run: cargo test --workspace --all-features |