Skip to content

Fix yaml tag parsing (#486) #848

Fix yaml tag parsing (#486)

Fix yaml tag parsing (#486) #848

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
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 ./...