Skip to content

update github workflows #5

update github workflows

update github workflows #5

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
name: Test Linux
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v1
with:
go-version: 1.21
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Set up GolangCI-Lint
run: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- latest
- name: Lint
run: ./bin/golangci-lint run ./...
- name: Test
run: go test -tags test -v ./...