Skip to content

fix: docker image and volumes #8

fix: docker image and volumes

fix: docker image and volumes #8

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
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 10 }
- uses: gwatts/go-coverage-action@v2
id: coverage
with:
coverage-threshold: 80
cover-pkg: ./...
golangci:
needs: build
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=3m