Skip to content

Commit

Permalink
Wip.....
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Nov 15, 2024
1 parent 4619c4e commit 5a0ffea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: linting

on: ["push", "pull_request"]
on:
pull_request:
push:
branches: [main]

jobs:
ci:
Expand All @@ -13,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: "checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "fetch unshallow"
run: git fetch --prune --unshallow
- name: Set up Go
Expand All @@ -22,9 +25,6 @@ jobs:
go-version: ${{ matrix.go }}
- name: "fmt"
run: if [ "$(go fmt ./... | wc -l)" -gt 0 ]; then echo "go fmt failed, please run again locally"; exit 1; fi
- name: "imports"
run: |
"go install golang.org/x/tools/cmd/goimports@latest"
- name: "vet"
run: "go vet ./..."
- name: staticcheck
Expand Down

0 comments on commit 5a0ffea

Please sign in to comment.