Merge remote-tracking branch 'origin/main' into main

# Conflicts:
#	.github/workflows/go.yml
This commit is contained in:
Winni Neessen 2021-03-20 19:21:30 +01:00
commit 748ebbc989
Signed by: wneessen
GPG key ID: 385AC9889632126E
2 changed files with 22 additions and 3 deletions

View file

@ -7,7 +7,6 @@ on:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
@ -19,7 +18,7 @@ jobs:
go-version: 1.15
- name: Build
run: go build -v ./apg.go
run: go build -v ./...
- name: Test
run: go test -v ./apg_test.go
run: go test -v ./...

20
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Go
on:
release:
types: [ created ]
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin, freebsd, openbsd, netbsd]
goarch: ["386", amd64]
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.15
with:
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}