Skip to content

CI Go by @renovate[bot] c71017da69ec752dd52092271b9686f7ef09c1f4 #74

CI Go by @renovate[bot] c71017da69ec752dd52092271b9686f7ef09c1f4

CI Go by @renovate[bot] c71017da69ec752dd52092271b9686f7ef09c1f4 #74

Workflow file for this run

name: CI Go
on:
pull_request:
paths:
- .github/workflows/ci-go.yml
- '**.go'
- go.*
- Makefile
run-name: CI Go by @${{ github.actor }} ${{ github.sha }}
jobs:
build-test:
runs-on: ubuntu-latest
container: golang:1.21.6
steps:
- name: setup
run: git config --global --add safe.directory $(pwd)
- uses: actions/checkout@v4
- name: build
run: make build
- name: tidy
run: |
go mod tidy
git diff --exit-code
- name: test
run: make unit
lint:
runs-on: ubuntu-latest
container: golangci/golangci-lint:v1.55.2
steps:
- name: setup
run: git config --global --add safe.directory $(pwd)
- uses: actions/checkout@v4
- name: lint
run: golangci-lint run ./...