Skip to content

fix(deps): update go #105

fix(deps): update go

fix(deps): update go #105

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
env:
# renovate: datasource=golang-version depName=golang
GO_VERSION: '1.22.3'
# renovate: datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION: 'v1.58.1'
jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5
with:
go-version: '${{ env.GO_VERSION }}'
id: go
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -cover ./...
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5
with:
go-version: '${{ env.GO_VERSION }}'
id: go
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}