Skip to content

Merge pull request #1143 from lance6716/remove-replace #19

Merge pull request #1143 from lance6716/remove-replace

Merge pull request #1143 from lance6716/remove-replace #19

Workflow file for this run

name: Unit Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.6
- name: Test
run: go test ./...
race-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.6
- name: Test with race
run: go test -race ./...
golangci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.6
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2