Skip to content

upgrade setup-go to v5 and checkout to v4 in test workflow (#28) #38

upgrade setup-go to v5 and checkout to v4 in test workflow (#28)

upgrade setup-go to v5 and checkout to v4 in test workflow (#28) #38

Workflow file for this run

name: Test application
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Download Go
uses: actions/setup-go@v5
with:
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: make build
- name: Test
run: make test