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

# Conflicts:
#	.github/workflows/go.yml
This commit is contained in:
Winni Neessen 2021-03-20 19:17:08 +01:00
commit b1b8557e69
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -5,23 +5,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
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 }}
build:
runs-on: ubuntu-latest
@ -34,7 +19,7 @@ jobs:
go-version: 1.15
- name: Build
run: go build -v ./...
run: go build -v ./apg.go
- name: Test
run: go test -v ./...
run: go test -v ./apg_test.go