Skip to content

Bump actions/checkout from 4.1.6 to 4.2.0 #47

Bump actions/checkout from 4.1.6 to 4.2.0

Bump actions/checkout from 4.1.6 to 4.2.0 #47

Workflow file for this run

name: Go
on:
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
checkpoint-api.hashicorp.com:443
github.com:443
objects.githubusercontent.com:443
proxy.golang.org:443
storage.googleapis.com:443
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: 1.19
- name: Check Code Generation
run: go generate ./... && git diff --exit-code
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...