Merge pull request #11 from someengineering/lloesche/useragent #84
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: Run fixctl Go Tests | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build and Test fixctl | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.22' | |
id: go | |
- name: Get dependencies | |
run: go mod tidy | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v -parallel 4 -timeout 30s ./... |