Skip to content

Commit 4b03778

Browse files
committed
feat: add probot app and notification workflows
1 parent 7762b3e commit 4b03778

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/pre-commit.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ jobs:
3333
go install golang.org/x/tools/cmd/goimports@latest
3434
echo "$HOME/go/bin" >> $GITHUB_PATH
3535
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+
3647
- name: Set up Python
3748
uses: actions/setup-python@v5
3849
with:

0 commit comments

Comments
 (0)