Skip to content

Commit ea0a5e6

Browse files
committed
chore: fix workflow
1 parent cc5dd2f commit ea0a5e6

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/update_workflow.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ name: Update Workflow Template Actions
1919
on:
2020
schedule:
2121
- cron: 14 23 * * *
22+
workflow_dispatch: {}
2223

2324
concurrency:
2425
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
@@ -55,7 +56,7 @@ jobs:
5556
env:
5657
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5758
run: |
58-
if [ -n "$(git status --porcelain | { grep -v '^?? ' || || test $? = 1 })" ]; then
59+
if [ -n "$(git status --porcelain | { grep -v '^?? ' || test $? = 1 })" ]; then
5960
PR_TITLE="chore: update workflow template action versions"
6061
BRANCH="chore/workflows_$(date +%Y-%m-%d)"
6162

adbc_drivers_dev/templates/golangci.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,15 @@ enable = [
2727
max-issues-per-linter = 0
2828
max-same-issues = 0
2929
uniq-by-line = false
30+
31+
[linters]
32+
enable = [
33+
"errcheck",
34+
"govet",
35+
"ineffassign",
36+
"intrange",
37+
"mirror",
38+
"nolintlint",
39+
"staticcheck",
40+
"unused",
41+
]

0 commit comments

Comments
 (0)