Skip to content

Bump goreleaser/goreleaser-action from 4 to 5 #115

Bump goreleaser/goreleaser-action from 4 to 5

Bump goreleaser/goreleaser-action from 4 to 5 #115

Workflow file for this run

name: Build go2junit
env:
go-version: "1.20"
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: Build application
run: go build -v ./...
test:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: Run vet
run: go vet ./...
- name: Test application
run: go test ./...