Skip to content

update actions/setup-go to v5 and actions/checkout to v4 #4

update actions/setup-go to v5 and actions/checkout to v4

update actions/setup-go to v5 and actions/checkout to v4 #4

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Format
run: go fmt && git diff --exit-code
- name: Vet
run: go vet
- name: Build
run: go build