Update smartcontractkit/.github requirement to 277f9fd8a8c9c81103ab02… #2796
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: WASP Lint | |
on: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
defaults: | |
run: | |
working-directory: wasp | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'wasp/**' | |
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30 | |
if: steps.changes.outputs.src == 'true' | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Run lint | |
if: steps.changes.outputs.src == 'true' | |
run: |- | |
nix develop -c make lint |