Skip to content

vendor: Bump golang.org/x/tools from 0.26.0 to 0.27.0 #117

vendor: Bump golang.org/x/tools from 0.26.0 to 0.27.0

vendor: Bump golang.org/x/tools from 0.26.0 to 0.27.0 #117

Workflow file for this run

name: Pull Request Validation
on:
pull_request: {}
push:
branches:
- main
jobs:
go-mod:
strategy:
matrix:
name:
- oldstable
- stable
- tip
include:
- name: oldstable
version: "1.22"
- name: stable
version: "1.23"
runs-on: ubuntu-latest
steps:
- name: Install Go v${{ matrix.name }}
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version: ${{ matrix.version }}
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Check module vendoring
run: |
go mod tidy
go mod vendor
git diff --exit-code
build:
strategy:
matrix:
name:
- oldstable
- stable
- tip
include:
- name: oldstable
version: "1.22"
- name: stable
version: "1.23"
runs-on: ubuntu-latest
steps:
- name: Install Go v${{ matrix.name }}
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version: ${{ matrix.version }}
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Go code prechecks
run: |
go build ./...
unit-test:
strategy:
matrix:
name:
- oldstable
- stable
- tip
include:
- name: oldstable
version: "1.22"
- name: stable
version: "1.23"
runs-on: ubuntu-latest
steps:
- name: Install Go v${{ matrix.name }}
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version: ${{ matrix.version }}
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Go code prechecks
run: |
go test ./...
lint:
runs-on: ubuntu-latest
needs: unit-test
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Run golangci lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
with:
version: v1.61.0
# use our .golangci.yml and configure output to be logged in the GHA,
# in addition to annotating the commit. see
# https://github.com/golangci/golangci-lint-action/issues/119#issuecomment-981090648
# for output
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number
skip-cache: true