Merge pull request #180 from takonomura/fix-concurrency-deleting #699
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: {} | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
- name: lint | |
run: | | |
GO111MODULE=off GOBIN=$(pwd)/bin go get golang.org/x/lint/golint | |
bin/golint -set_exit_status ./... | |
- name: vet | |
run: | | |
go vet ./... | |
- name: test | |
run: | | |
make test | |
docker-build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: docker build | |
run: docker build . |