mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 22:00:49 +01:00
Merge remote-tracking branch 'origin/main' into main
# Conflicts: # .github/workflows/go.yml
This commit is contained in:
commit
748ebbc989
2 changed files with 22 additions and 3 deletions
5
.github/workflows/go.yml
vendored
5
.github/workflows/go.yml
vendored
|
@ -7,7 +7,6 @@ on:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -19,7 +18,7 @@ jobs:
|
||||||
go-version: 1.15
|
go-version: 1.15
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./apg.go
|
run: go build -v ./...
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./apg_test.go
|
run: go test -v ./...
|
||||||
|
|
20
.github/workflows/release.yml
vendored
Normal file
20
.github/workflows/release.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue