Skip to content

build(deps): Bump github/codeql-action from 3.26.2 to 3.26.5 #179

build(deps): Bump github/codeql-action from 3.26.2 to 3.26.5

build(deps): Bump github/codeql-action from 3.26.2 to 3.26.5 #179

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: ./go.mod
- name: Build
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200
with:
version: latest
args: --clean --snapshot
test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: ./go.mod
- name: Test
run: go test ./...
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: ./go.mod
- name: Check Modules
run: |
go mod tidy
if [ ! -z "$(git status --porcelain=v1)" ]; then
>&2 echo "Please run \`go mod tidy\` and commit the result."
exit 1
fi
- name: Lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86