Skip to content

ci: trigger actions when merging with queue #31

ci: trigger actions when merging with queue

ci: trigger actions when merging with queue #31

Workflow file for this run

name: Rust Build and Test
on:
merge_group:
types: [checks_requested]
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
paths:
# Run the workflow on every push to the main branch
- 'src/**'
- 'Cargo.toml'
- '.github/workflows/**'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# run on ubuntu, macos and windows
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain:
- nightly
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose