Skip to content

chore(deps): update actions/setup-go action to v5.1.0 #135

chore(deps): update actions/setup-go action to v5.1.0

chore(deps): update actions/setup-go action to v5.1.0 #135

Workflow file for this run

name: Go Lint and Build
on:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Lint
uses: reviewdog/action-golangci-lint@7708105983c614f7a2725e2172908b7709d1c3e4 # v2.6.2
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [ lint ]
steps:
- name: Check out code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: 'go.mod'
id: go
- name: Build tool
run: go build -v .