We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7762b3e commit 4b03778Copy full SHA for 4b03778
1 file changed
.github/workflows/pre-commit.yaml
@@ -33,6 +33,17 @@ jobs:
33
go install golang.org/x/tools/cmd/goimports@latest
34
echo "$HOME/go/bin" >> $GITHUB_PATH
35
36
+ - name: Add Go bin to PATH
37
+ run: echo "$HOME/go/bin" >> $GITHUB_PATH
38
+
39
+ - name: Install goimports
40
+ run: go install golang.org/x/tools/cmd/goimports@latest
41
42
+ - name: Install golangci-lint v2.7.2
43
+ run: |
44
+ curl -sSL https://github.com/golangci/golangci-lint/releases/download/v2.7.2/golangci-lint-2.7.2-linux-amd64.tar.gz \
45
+ | tar -xz -C $HOME/go/bin --strip-components=1
46
47
- name: Set up Python
48
uses: actions/setup-python@v5
49
with:
0 commit comments