Skip to content

Commit

Permalink
feat: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenderov committed May 24, 2024
1 parent 02a85da commit bad72cd
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,27 @@ on:

jobs:

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

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

check-latest: true
cache-dependency-path: "**/*.sum"
- name: Test
run: go list -f '{{.Dir}}/...' -m | xargs go test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
check-latest: true
cache-dependency-path: "**/*.sum"
- name: Build
run: go list -f '{{.Dir}}' -m | xargs -L1 go build -C

0 comments on commit bad72cd

Please sign in to comment.