CI Go by @renovate[bot] 676cf74db90619f5c9c2d3b57b7875610fb0fd5e #123
Workflow file for this run
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: 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 ./... |