Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TimLai666 committed Oct 17, 2024
2 parents fce9156 + e75ff58 commit 8f0f041
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ on:
branches: [ "main" ]

jobs:

build:
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Test
run: go test -v ./...
go-version-file: go.mod
cache-dependency-path: go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
- name: Install dependencies
run: go mod download
- name: Unit Test
run: go test -v ./...

0 comments on commit 8f0f041

Please sign in to comment.