Merge remote-tracking branch 'origin/main'

This commit is contained in:
Winni Neessen 2021-09-26 16:33:58 +02:00
commit b6f60f7c1c
6 changed files with 29 additions and 6 deletions

11
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

View file

@ -1,6 +1,7 @@
name: Go name: Go
on: on:
workflow_dispatch:
release: release:
types: [ created ] types: [ created ]
@ -14,7 +15,7 @@ jobs:
goarch: ["386", amd64, arm, arm64] goarch: ["386", amd64, arm, arm64]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.15 - uses: wangyoucao577/go-release-action@v1.20
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }} goos: ${{ matrix.goos }}
@ -23,3 +24,5 @@ jobs:
extra_files: LICENSE README.md extra_files: LICENSE README.md
sha256sum: true sha256sum: true
md5sum: false md5sum: false
ldflags: '-s -w'
project_path: ./cmd/apg/

View file

@ -1,6 +1,7 @@
name: Go name: Go
on: on:
workflow_dispatch:
release: release:
types: [ created ] types: [ created ]
@ -11,10 +12,10 @@ jobs:
strategy: strategy:
matrix: matrix:
goos: [darwin] goos: [darwin]
goarch: ["386", amd64] goarch: [amd64, arm64]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.15 - uses: wangyoucao577/go-release-action@v1.20
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }} goos: ${{ matrix.goos }}
@ -23,3 +24,5 @@ jobs:
extra_files: LICENSE README.md extra_files: LICENSE README.md
sha256sum: true sha256sum: true
md5sum: false md5sum: false
ldflags: '-s -w'
project_path: ./cmd/apg/

View file

@ -1,6 +1,7 @@
name: Go name: Go
on: on:
workflow_dispatch:
release: release:
types: [ created ] types: [ created ]
@ -14,7 +15,7 @@ jobs:
goarch: ["386", amd64, arm, arm64, ppc64le, s390x] goarch: ["386", amd64, arm, arm64, ppc64le, s390x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.15 - uses: wangyoucao577/go-release-action@v1.20
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }} goos: ${{ matrix.goos }}
@ -23,3 +24,5 @@ jobs:
extra_files: LICENSE README.md extra_files: LICENSE README.md
sha256sum: true sha256sum: true
md5sum: false md5sum: false
ldflags: '-s -w'
project_path: ./cmd/apg/

View file

@ -1,6 +1,7 @@
name: Go name: Go
on: on:
workflow_dispatch:
release: release:
types: [ created ] types: [ created ]
@ -14,7 +15,7 @@ jobs:
goarch: ["386", amd64, arm] goarch: ["386", amd64, arm]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.15 - uses: wangyoucao577/go-release-action@v1.20
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }} goos: ${{ matrix.goos }}
@ -23,3 +24,5 @@ jobs:
extra_files: LICENSE README.md extra_files: LICENSE README.md
sha256sum: true sha256sum: true
md5sum: false md5sum: false
ldflags: '-s -w'
project_path: ./cmd/apg/

View file

@ -15,7 +15,7 @@ import (
) )
// VersionString represents the current version of the apg-go CLI // VersionString represents the current version of the apg-go CLI
const VersionString string = "0.4.0" const VersionString string = "0.4.0-rc1"
// Help text // Help text
const usage = `apg-go // A "Automated Password Generator"-clone const usage = `apg-go // A "Automated Password Generator"-clone