Skip to content

update ci settings

update ci settings #40

Workflow file for this run

name: test
on:
pull_request:
branches: [main]
push:
branches: [main]
paths:
- '**.go'
- '.github/workflows/test.yml'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- uses: aquaproj/aqua-installer@v2.1.2
with:
aqua_version: v2.10.1
- uses: suzuki-shunsuke/github-action-golangci-lint@v0.1.4
- name: Test
run: go test -v -race ./...