Skip to content

ci: set some default to false #194

ci: set some default to false

ci: set some default to false #194

Workflow file for this run

name: Lint
on:
push:
branches:
- master
- develop
paths-ignore:
- 'README.md'
- 'LICENSE'
- '.gitignore'
- '.vscode/**'
- 'scripts/**'
pull_request:
branches:
- master
- develop
paths-ignore:
- 'README.md'
- 'LICENSE'
- '.gitignore'
- '.vscode/**'
- 'scripts/**'
merge_group:
env:
CARGO_TERM_COLOR: always
PKG_CONFIG_SYSROOT_DIR: /
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-24.04
if: ${{ !startsWith(github.event.head_commit.message, 'docs:') || !contains(github.event.head_commit.message, 'skip ci') }}
steps:
- name: Checkout repo
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
- name: Setup rust cache
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
with:
prefix-key: "${{ runner.os }}-tosho-rust-lint"
- name: Lint
run: cargo clippy --verbose --all -- -D warnings