Skip to content

build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 #142

build(deps): bump github/codeql-action from 3.27.4 to 3.27.5

build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 #142

Workflow file for this run

name: Go
on:
pull_request: {}
push:
branches:
- master
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.21'
- '1.22'
- '1.23'
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
#- name: Build
# run: go build -v ./...
- name: Test
run: go test -v ./...