mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-09 15:52:54 +01:00
Merge remote-tracking branch 'origin/main' into main
# Conflicts: # .github/workflows/go.yml
This commit is contained in:
commit
b1b8557e69
1 changed files with 2 additions and 17 deletions
19
.github/workflows/go.yml
vendored
19
.github/workflows/go.yml
vendored
|
@ -5,23 +5,8 @@ on:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
release:
|
|
||||||
types: [ created ]
|
|
||||||
|
|
||||||
jobs:
|
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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -34,7 +19,7 @@ jobs:
|
||||||
go-version: 1.15
|
go-version: 1.15
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./...
|
run: go build -v ./apg.go
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./...
|
run: go test -v ./apg_test.go
|
||||||
|
|
Loading…
Reference in a new issue