Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
21 lines
444 B
YAML
21 lines
444 B
YAML
name: lint
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "**.md"
|
|
- "**.svg"
|
|
- ".gitignore"
|
|
- "LICENSE"
|
|
- "flake.lock"
|
|
|
|
jobs:
|
|
treefmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v31
|
|
- name: Run treefmt check
|
|
run: nix build .#checks.x86_64-linux.treefmt --accept-flake-config
|