chore: Adopt _rust template #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Not run as part of pre-commit checks because they don't handle sending the correct commit | |
# range to `committed` | |
name: Lint Commits | |
on: [pull_request] | |
permissions: | |
contents: read | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_TERM_COLOR: always | |
CLICOLOR: 1 | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
committed: | |
name: Lint Commits | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Actions Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint Commits | |
uses: crate-ci/committed@master |