Skip to content

fix(parser): disallow from attributes with args #9

fix(parser): disallow from attributes with args

fix(parser): disallow from attributes with args #9

Workflow file for this run

name: pisserror CI
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
run_checks:
name: pisserror
runs-on: ubuntu-22.04
strategy:
matrix:
toolchain:
- stable
- nightly
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
- name: Cache cargo registry
uses: actions/cache@v3
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v3
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo bin
uses: actions/cache@v3
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('**/Cargo.lock') }}
- uses: taiki-e/install-action@v2
with:
tool: cargo-deny,cargo-all-features,cargo-semver-checks
- name: Check semantic versioning adherence # note: this should always work. it's got one line of code...
if: ${{ matrix.toolchain != 'nightly' }}
run: cargo semver-checks
- name: Build
run: cargo build --verbose
- name: Test `pisserror` crate
run: cargo test-all-features
- name: Test `macros` crate
run: cargo test-all-features macros/
- name: Run cargo-deny
run: cargo deny check