Skip to content

Bump actions/checkout from 3 to 4 #112

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #112

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 ./...