File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,8 @@ name: Gitea CI Workflow
33on :
44 push :
55 branches :
6- - main # Trigger on push to the main branch
7- pull_request :
8- branches :
9- - main # Trigger on pull requests to the main branch
6+ - dev # Trigger on push to the dev branch
7+
108
119jobs :
1210 build :
2725 - name : Install dependencies
2826 run : |
2927 go mod tidy
28+ # Step 4: Run Linting (you can use golangci-lint for Go code linting)
29+ - name : Run GolangCI Lint
30+ uses : golangci/golangci-lint-action@v3
31+ with :
32+ version : v1.64.5 # Make sure to use the right version for your setup
3033
31- # Step 4: Run only the specific test (TestIsValidUsername)
34+ # Step 4: Run only the specific test (TestIsValidUsername)
3235 # - name: Run Password Test
3336 # run:
3437
You can’t perform that action at this time.
0 commit comments