Support MUs for OBS and IBS #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 SUSE LLC | |
# | |
# SPDX-License-Identifier: BSD3 | |
name: Build | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CGO_ENABLED: 0 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-tags: true | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.20' | |
- name: Build | |
run: | | |
mkdir -p ./bin | |
go build -o ./bin/ -v ./... | |
- name: Test | |
run: go test -v ./... | |
- name: Upload binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: binaries | |
path: ./bin/* |