Files
archived-hipudding-teslamate/.github/workflows/ensure_linting.yml
dependabot[bot] 418bfbd536 build(deps): bump cachix/install-nix-action from 27 to 30 (#4342)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 27 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](ba0dd844c9...08dcb3a5e6)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 10:06:18 +01:00

26 lines
763 B
YAML

name: Ensure Linting
on:
workflow_call:
permissions:
contents: read
jobs:
check_linting:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Nix
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 #v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Nix binary cache
uses: DeterminateSystems/magic-nix-cache-action@87b14cf437d03d37989d87f0fa5ce4f5dc1a330b #v8
- name: Run treefmt in CI mode
run: nix develop --override-input devenv-root "file+file://"<(printf %s "$PWD") . --command treefmt --ci
# or use: https://github.com/cachix/git-hooks.nix?tab=readme-ov-file