go-watch-logs
revamped - God speed
#7
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: test | |
on: | |
pull_request: | |
push: | |
tags-ignore: | |
- '**' | |
branches: | |
- '**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: kevincobain2000/action-gobrew@v2 | |
with: | |
version: 'mod' | |
- name: Install Tools | |
run: | | |
go install github.com/axw/gocov/gocov@latest | |
go install github.com/AlekSi/gocov-xml@latest | |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | |
curl -sLk https://raw.githubusercontent.com/kevincobain2000/cover-totalizer/master/install.sh | sh | |
- run: go mod tidy | |
- run: golangci-lint run ./... | |
- run: go build | |
- run: go test ./... |