Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bump the actions-deps group across 1 directory with 4 updates #74

Bump the actions-deps group across 1 directory with 4 updates

Bump the actions-deps group across 1 directory with 4 updates #74

Workflow file for this run

name: Hygiene
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:
env:
MSRV: 1.82.0
permissions: {}
jobs:
code-hygiene:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
components: rustfmt, clippy
toolchain: ${{ env.MSRV }}
- name: Rustfmt
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-features
- name: Check for typos
uses: crate-ci/[email protected]
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
submodules: true
persist-credentials: false
- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
components: rust-src # https://github.com/dtolnay/trybuild?tab=readme-ov-file#troubleshooting
toolchain: ${{ env.MSRV }}
- name: "Tests (features: default)"
run: cargo test --no-fail-fast
- name: "Tests (features: none)"
run: cargo test --no-default-features --no-fail-fast
- name: "Tests (features: all)"
run: cargo test --all-features --no-fail-fast
zizmor:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
submodules: true
persist-credentials: false
- name: Install Zizmor
uses: taiki-e/[email protected]
with:
tool: zizmor
- name: Zizmor
run: zizmor .
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}