Skip to content

Bump actions/setup-go from 6.0.0 to 6.1.0 in the all group (#1145) #2163

Bump actions/setup-go from 6.0.0 to 6.1.0 in the all group (#1145)

Bump actions/setup-go from 6.0.0 to 6.1.0 in the all group (#1145) #2163

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'
permissions: {}
jobs:
go-build-test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out code onto GOPATH
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.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 ./...