Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin8105 committed Jan 26, 2025
1 parent fe6a530 commit 1b0b715
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@ jobs:

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

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
strategy:
matrix:
go-version: [ '1.23.x' ]

- name: Build
run: go build -v ./...
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version
# - name: Set up Go
# uses: actions/setup-go@v2
# with:
# go-version: 1.17
#
- name: Build
run: go build -v ./...

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

0 comments on commit 1b0b715

Please sign in to comment.