Skip to content

Commit

Permalink
chore: update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
beastOP committed Jul 15, 2024
1 parent 15e6d2a commit 9bb64fe
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ on:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22' ]
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: ${{ matrix.go-version }}

- name: Build
run: go build -v ./...
- name: Display Go version
run: go version

- name: Test
run: go test -v ./...

0 comments on commit 9bb64fe

Please sign in to comment.