Skip to content

build(deps): bump actions/download-artifact from 4.1.2 to 4.1.3 #408

build(deps): bump actions/download-artifact from 4.1.2 to 4.1.3

build(deps): bump actions/download-artifact from 4.1.2 to 4.1.3 #408

Workflow file for this run

name: Go build
on:
pull_request: {}
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version-file: 'go.mod'
- name: Formatting check
run: |
go fmt ./...
git diff --exit-code
- name: Go mod check
run: |
go mod tidy
go mod vendor
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1)
- name: Run static checks
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804
with:
version: v1.55.2
# 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
- name: govulncheck
uses: golang/govulncheck-action@3a32958c2706f7048305d5a2e53633d7e37e97d0
with:
go-version-file: 'go.mod'
go-package: './...'
- name: Build
run: |
go build ./...
- name: Test
run: |
go test ./...