Skip to content

v0.0.5

v0.0.5 #75

Workflow file for this run

name: rust
concurrency:
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.ref }}
env:
CARGO_TERM_COLOR: always
CRATE_BASENAME: ${{ github.event.repository.name }}
on:
pull_request:
branches: [ main, v*.*.* ]
release:
types: [ created ]
repository_dispatch:
types: [ rust ]
schedule:
- cron: "30 21 * * 0" # Every Sunday at 9:30pm UTC
workflow_dispatch:
permissions: write-all
jobs:
build:
name: Build
strategy:
matrix:
platform: [ macos-latest, ubuntu-latest, windows-latest ]
toolchain: [ stable, nightly ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: rustup
run: |
rustup default ${{ matrix.toolchain }}
rustup update
- name: build
run: cargo build --all-features -r -v --workspace
- name: test
run: cargo test -v --workspace -F full
- name: benchmark
if: matrix.toolchain == 'nightly'
run: cargo bench -F full -v --workspace
- uses: actions/cache@v4
with:
key: ${{ runner.os }}-cargo-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }}
path: |
~/.cargo/registry
~/.cargo/git
target/debug
target/release
restore-keys: |
${{ runner.os }}-cargo-${{ matrix.toolchain }}-
${{ runner.os }}-cargo-
${{ runner.os }}-