Skip to content

Fix default branch

Fix default branch #54

Workflow file for this run

name: CI
"on":
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
permissions:
contents: read
jobs:
build:
name: Build & Lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build all binaries
run: cargo build --locked --all-features
test:
name: Test
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --locked --all-features