Skip to content

Commit

Permalink
enable Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
akhenakh committed Sep 27, 2023
1 parent 1c1f874 commit 583371b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21"]

steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2

test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.20", "1.21"]

steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- name: test
run: |
go test -v -race

0 comments on commit 583371b

Please sign in to comment.