more docs #2063
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
name: SETH Lint | |
on: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
defaults: | |
run: | |
working-directory: seth | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Check for changes in Seth project | |
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'seth/**' | |
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30 | |
if: steps.changes.outputs.src == 'true' | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Lint | |
if: steps.changes.outputs.src == 'true' | |
run: | | |
nix develop -c make lint |