Bump the version to v0.9.9 #704
Workflow file for this run
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: Skeptic and Trybuild | |
on: | |
push: | |
paths-ignore: | |
- '.devcontainer/**' | |
- '.gitpod.yml' | |
- '.vscode/**' | |
schedule: | |
# Run against the last commit on the default branch on Friday at 9pm (UTC?) | |
- cron: '0 21 * * 5' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- beta | |
steps: | |
- name: Checkout Moka | |
uses: actions/checkout@v2 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v1 | |
- name: cargo clean | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clean | |
- name: Run tests (no features) | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --release | |
env: | |
RUSTFLAGS: '--cfg skeptic' | |
- name: Run tests (release, future and dash) | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --release --features 'sync, future, dash' | |
env: | |
RUSTFLAGS: '--cfg skeptic' | |
- name: Run tests (sync, future and dash, without atomic64 and quanta) | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --release --no-default-features --features 'sync, future, dash' | |
env: | |
RUSTFLAGS: '--cfg skeptic' | |
- name: Run compile error tests (sync, future and dash features, trybuild) | |
uses: actions-rs/cargo@v1 | |
if: ${{ matrix.rust == 'stable' }} | |
with: | |
command: test | |
args: ui_trybuild --release --features 'sync, future, dash' | |
env: | |
RUSTFLAGS: '--cfg trybuild' |