Skip to content

Commit

Permalink
Workflow build enviroment
Browse files Browse the repository at this point in the history
  • Loading branch information
maias1907 committed Feb 17, 2025
1 parent 6099110 commit df080f4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ name: Gitea CI Workflow
on:
push:
branches:
- main # Trigger on push to the main branch
pull_request:
branches:
- main # Trigger on pull requests to the main branch
- dev # Trigger on push to the dev branch


Check failure on line 8 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / lint-yaml

8:1 [empty-lines] too many blank lines (2 > 1)
jobs:
build:
Expand All @@ -27,8 +25,13 @@ jobs:
- name: Install dependencies
run: |
go mod tidy
# Step 4: Run Linting (you can use golangci-lint for Go code linting)
- name: Run GolangCI Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.64.5 # Make sure to use the right version for your setup

# Step 4: Run only the specific test (TestIsValidUsername)
# Step 4: Run only the specific test (TestIsValidUsername)

Check failure on line 34 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / lint-yaml

34:9 [comments-indentation] comment not indented like content
#- name: Run Password Test

Check warning on line 35 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / lint-yaml

35:8 [comments] missing starting space in comment

Check failure on line 35 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / lint-yaml

35:7 [comments-indentation] comment not indented like content
#run:

Check warning on line 36 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / lint-yaml

36:10 [comments] missing starting space in comment

Check failure on line 36 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / lint-yaml

36:9 [comments-indentation] comment not indented like content

Expand Down

0 comments on commit df080f4

Please sign in to comment.