Skip to content

Bump crate-ci/typos from 1.26.8 to 1.27.0 #74

Bump crate-ci/typos from 1.26.8 to 1.27.0

Bump crate-ci/typos from 1.26.8 to 1.27.0 #74

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5
- uses: software-mansion/setup-scarb@f4e6c94463f876159057c57d3f0770cc39d3ea1a # v1.4.0
- uses: foundry-rs/setup-snfoundry@bd5fc266ba0ce7e352b01dd7eaacc0fbb6145d17 # v3.0.0
- run: cargo test --release
rustfmt:
name: Check rust formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5
- run: cargo fmt --check
clippy:
name: Check linter
runs-on: ubuntu-latest
env:
# Make sure CI fails on all warnings - including Clippy lints.
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5
- run: cargo lint
typos:
name: Check typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: typos-action
uses: crate-ci/typos@d01f29c66d1bf1a08730750f61d86c210b0d039d # v1.2.5