Skip to content

Bump github/codeql-action from 3.28.0 to 3.28.1 #199

Bump github/codeql-action from 3.28.0 to 3.28.1

Bump github/codeql-action from 3.28.0 to 3.28.1 #199

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Go report card
uses: creekorful/goreportcard-action@1f35ced8cdac2cba28c9a2f2288a16aacfd507f9 # v1.0
- name: Harden-Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
api.github.com:443
github-releases.githubusercontent.com:443
goreportcard.com:443
objects.githubusercontent.com:443
proxy.golang.org:443
storage.googleapis.com:443
golang.org:443
go.dev:443