Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoDev2 authored Nov 26, 2024
1 parent 62f3e3c commit 1ad481a
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
branches: [ "main" ]

jobs:

Fleet:
runs-on: ubuntu-latest

Expand All @@ -18,18 +17,28 @@ jobs:
uses: actions/[email protected]
with:
go-version: 1.23.x

- name: Check Go environment
run: go version

- name: Install dependencies
run: go get -v -t ./...
run: |
go clean -modcache
go mod tidy
go get -v -t ./...
- name: Verify imports
run: |
go mod tidy
go build ./...
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

- name: Run golangci-lint
run: golangci-lint run ./...

- name: Build
run: go build -o resq

0 comments on commit 1ad481a

Please sign in to comment.