fix(deps): update all non-major dependencies #112
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |