Skip to content

Fix release process #128

Fix release process

Fix release process #128

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@v5
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@v5
with:
go-version: ${{ env.go-version }}
- name: Run vet
run: go vet ./...
- name: Test application
run: go test ./...