Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds run tests against 3 latest version of go to CI configuration #13

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ on: [push]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21.x", "1.22.x"]
steps:
- uses: actions/checkout@v3
- name: Setup Go 1.21
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: "1.21.x"
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Code Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
# - name: Code Lint
# uses: golangci/golangci-lint-action@v3
# with:
# version: v1.55.2
- name: Build
run: go build -v ./...
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ksysoev/wasabi

go 1.22.1
go 1.21

require (
github.com/google/uuid v1.5.0
Expand Down
Loading