mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-12 17:02:56 +01:00
Winni Neessen
79f921f9ad
This commit introduces the .gitignore configuration file and adds SPDX headers to several files including test and documentation files. The headers provide license information in a standardized format which can be easily picked up by automated tools for license compliance checks. Additionally, it deleted a .idea/.gitignore file, which is a project specific IDE configuration file not necessary for the repository. It also introduced a README.md file providing more insightful information about the project.
32 lines
791 B
YAML
32 lines
791 B
YAML
# SPDX-FileCopyrightText: 2021-2024 Winni Neessen <wn@neessen.dev>
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
name: Go
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [ created ]
|
|
|
|
jobs:
|
|
releases-matrix:
|
|
name: Release Go Binary (Linux)
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
goos: [linux]
|
|
goarch: ["386", amd64, arm, arm64, ppc64le, s390x]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: wangyoucao577/go-release-action@v1.26
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
goos: ${{ matrix.goos }}
|
|
goarch: ${{ matrix.goarch }}
|
|
binary_name: "apg"
|
|
extra_files: LICENSE README.md
|
|
sha256sum: true
|
|
md5sum: false
|
|
ldflags: '-s -w'
|
|
project_path: ./cmd/apg/
|