Skip to content

Bump github/codeql-action from 3.23.1 to 3.23.2 #217

Bump github/codeql-action from 3.23.1 to 3.23.2

Bump github/codeql-action from 3.23.1 to 3.23.2 #217

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: 1.21.4
- name: Build
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: --rm-dist --snapshot
test:
name: Test
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: 1.21.4
- name: Test
run: go test ./...
lint:
name: Lint
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: 1.21.4
- 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@3a919529898de77ec3da873e3063ca4b10e7f5cc
with:
version: v1.55.2