Skip to content

Commit

Permalink
Improve workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
derfenix committed Apr 15, 2023
1 parent c0f3ea3 commit 4e728ed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: test

on:
Expand All @@ -12,15 +13,15 @@ jobs:

steps:
- name: Setup Go
uses: actions/setup-go@v3
uses: https://github.com/actions/setup-go@v3
with:
go-version: 1.20.x

- name: Checkout code
uses: actions/checkout@v3
uses: https://github.com/actions/checkout@v3

- name: go mod package cache
uses: actions/cache@v3
uses: https://github.com/actions/cache@v3
with:
path: |
~/.cache/go-build
Expand All @@ -33,7 +34,7 @@ jobs:
run: go test ./...

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: https://github.com/golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
Expand Down

0 comments on commit 4e728ed

Please sign in to comment.