Skip to content

fix(ci): Dockerfile version #3

fix(ci): Dockerfile version

fix(ci): Dockerfile version #3

Workflow file for this run

name: golang
on:
pull_request:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: build
run: make build
- name: test
run: go test -race
coverage:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 10 }
- uses: gwatts/go-coverage-action@v2
id: coverage
with:
coverage-threshold: 80
cover-pkg: ./...