Test #529
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: Test | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 6 * * SAT' | |
pull_request: | |
branches: | |
- master | |
release: | |
types: # This configuration does not affect the page_build event above | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- name: Install latest beta | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: beta | |
- name: Build | |
run: cargo build --all --verbose | |
- name: Run tests stable | |
run: RSTEST_TEST_CHANNEL=stable cargo test --all --verbose | |
- name: Run tests beta | |
run: RSTEST_TEST_CHANNEL=beta cargo test --all --verbose | |
- name: Run tests nightly | |
run: RSTEST_TEST_CHANNEL=nightly cargo test --all --verbose | |
msrv: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@cargo-hack | |
- run: cargo hack check --rust-version --workspace --ignore-private |