Skip to content

Commit c068990

Browse files
committed
Workflow build enviroment
1 parent 35b2ceb commit c068990

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- dev # Trigger on push to the dev branch
77

8-
98
jobs:
109
build:
1110
runs-on: ubuntu-latest
@@ -25,20 +24,16 @@ jobs:
2524
- name: Install dependencies
2625
run: |
2726
go mod tidy
28-
# Step 4: Run Linting (you can use golangci-lint for Go code linting)
27+
28+
# Step 4: Run Linting (you can use golangci-lint for Go code linting)
2929
- name: Run GolangCI Lint
3030
uses: golangci/golangci-lint-action@v3
3131
with:
32-
version: v1.64.5 # Make sure to use the right version for your setup
33-
args: |
34-
--disable=staticcheck
35-
--disable=tenv
36-
--output-format=colored-line-number
37-
38-
# Step 4: Run only the specific test (TestIsValidUsername)
39-
#- name: Run Password Test
40-
#run:
41-
32+
version: v1.64.5 # Specify the GolangCI Lint version
33+
extra_args: |
34+
--disable=staticcheck
35+
--disable=tenv
36+
--output-format=colored-line-number
4237
4338
docker:
4439
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)