Skip to content

build(deps): bump goreleaser/goreleaser-action from 4 to 5 #176

build(deps): bump goreleaser/goreleaser-action from 4 to 5

build(deps): bump goreleaser/goreleaser-action from 4 to 5 #176

Workflow file for this run

name: Go
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test -coverprofile="coverage.txt" -covermode=atomic -p 1 ./...
- name: Upload coverage to Codecov
if: success() && matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v3.1.4