Skip to content

Merge pull request #21 from rb3ckers/upgrade-docker-image #11

Merge pull request #21 from rb3ckers/upgrade-docker-image

Merge pull request #21 from rb3ckers/upgrade-docker-image #11

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
id: go
uses: actions/setup-go@v2
with:
go-version: ^1.21
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Check GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: check
- name: Compile
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: build --rm-dist --snapshot
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Test
run: go test -v .