Skip to content

Bump actions/setup-go from 5.2.0 to 5.3.0 in the all group (#708) #1276

Bump actions/setup-go from 5.2.0 to 5.3.0 in the all group (#708)

Bump actions/setup-go from 5.2.0 to 5.3.0 in the all group (#708) #1276

Workflow file for this run

# Copyright 2024 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0
name: go-build-test
on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
jobs:
go-build-test:
runs-on: ubuntu-latest
steps:
- name: Check out code onto GOPATH
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: './go.mod'
check-latest: true
- name: build
run: |
go build -o octo-sts ./cmd/app
- name: test
run: |
# Exclude running unit tests against third_party repos.
go test -v -race ./...