Skip to content

Escape pkg names in URLs #74

Escape pkg names in URLs

Escape pkg names in URLs #74

Workflow file for this run

# 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@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
with:
fetch-tags: true
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 #v5.3.0
with:
go-version: '1.24.1'
- name: Build
run: |
mkdir -p ./bin
go build -o ./bin/ -v ./...
- name: Test
run: go test -v ./...
- name: Upload binaries
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 #v4.6.1
with:
name: binaries
path: ./bin/*