Skip to content

chore(main): release 1.1.1 (#50) #57

chore(main): release 1.1.1 (#50)

chore(main): release 1.1.1 (#50) #57

Workflow file for this run

on:
push:
branches:
- "main"
pull_request:
types: [assigned, opened, synchronize, reopened]
paths:
- "**.rs"
- "**.pest"
- "CHANGELOG.md"
name: Cargo Test
env:
CARGO_TERM_COLOR: always
CI: true # insta will not write new snapshot files
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
# Checkout the project
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: "${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}"
- uses: actions/cache@v4
with:
path: ~/.cargo/git
key: "${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}"
- uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
# Run cargo test
- name: Test
run: cargo test --all-features