Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Aug 11, 2022
1 parent 9fabac6 commit 3c41188
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 217 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/lock.yml

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v2'
uses: 'actions/checkout@v3'

- name: 'Unshallow'
run: 'git fetch --prune --unshallow'

- name: 'Set up Go'
uses: 'actions/setup-go@v2'
uses: 'actions/setup-go@v3'
with:
go-version: '1.17'
go-version: '1.19'

- name: 'Import GPG key'
id: 'import_gpg'
uses: 'hashicorp/ghaction-import-gpg@v2.1.0'
env:
GPG_PRIVATE_KEY: '${{ secrets.GPG_PRIVATE_KEY }}'
PASSPHRASE: '${{ secrets.PASSPHRASE }}'
uses: 'crazy-max/ghaction-import-gpg@v5'
with:
gpg_private_key: '${{ secrets.GPG_PRIVATE_KEY }}'
passphrase: '${{ secrets.PASSPHRASE }}'

- name: 'Run GoReleaser'
uses: 'goreleaser/goreleaser-action@v2'
uses: 'goreleaser/goreleaser-action@v3'
with:
version: 'latest'
args: 'release --rm-dist'
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/stale.yml

This file was deleted.

13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,13 @@ jobs:
runs-on: '${{ matrix.os }}'

steps:
- uses: 'actions/checkout@v2'
- uses: 'actions/checkout@v3'

- uses: 'actions/setup-go@v2'
- uses: 'actions/setup-go@v3'
with:
go-version: '1.17'
go-version: '1.19'

- uses: 'actions/cache@v2'
with:
path: '~/go/pkg/mod'
key: '${{ runner.os }}-go-${{ hashFiles(''**/go.sum'') }}'
restore-keys: |
${{ runner.os }}-go-
- run: 'go mod download'

- name: 'Test'
run: 'make test-acc'
50 changes: 25 additions & 25 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
before:
hooks:
- go mod tidy
- 'go mod tidy'
builds:
- env:
- CGO_ENABLED=0
- 'CGO_ENABLED=0'
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
- '-trimpath'
ldflags:
- '-s -w -X github.com/sethvargo/vault-secrets-gen/version.version={{.Version}} -X github.com/sethvargo/vault-secrets-gen/version.GitCommit={{.Commit}}'
targets:
- darwin_amd64
- darwin_arm64
- freebsd_amd64
- freebsd_arm64
- linux_amd64
- linux_arm64
- netbsd_amd64
- netbsd_arm64
- openbsd_amd64
- openbsd_arm64
- windows_amd64
- windows_arm
- 'darwin_amd64'
- 'darwin_arm64'
- 'freebsd_amd64'
- 'freebsd_arm64'
- 'linux_amd64'
- 'linux_arm64'
- 'netbsd_amd64'
- 'netbsd_arm64'
- 'openbsd_amd64'
- 'openbsd_arm64'
- 'windows_amd64'
- 'windows_arm'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
- format: 'zip'
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
algorithm: 'sha256'
signs:
- artifacts: checksum
- artifacts: 'checksum'
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
- '--batch'
- '--local-user'
- '{{ .Env.GPG_FINGERPRINT }}'
- '--output'
- '${signature}'
- '--detach-sign'
- '${artifact}'
release:
draft: false
changelog:
Expand Down
40 changes: 20 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
module github.com/sethvargo/vault-secrets-gen

go 1.17
go 1.19

require (
github.com/hashicorp/go-hclog v1.0.0
github.com/hashicorp/vault/api v1.3.1
github.com/hashicorp/vault/sdk v0.3.0
github.com/sethvargo/go-diceware v0.2.1
github.com/hashicorp/go-hclog v1.2.2
github.com/hashicorp/vault/api v1.7.2
github.com/hashicorp/vault/sdk v0.5.3
github.com/sethvargo/go-diceware v0.3.0
github.com/sethvargo/go-password v0.2.0
)

require (
github.com/armon/go-metrics v0.3.10 // indirect
github.com/armon/go-metrics v0.4.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
Expand All @@ -23,37 +23,37 @@ require (
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-kms-wrapping/entropy v0.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.3 // indirect
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
github.com/hashicorp/go-plugin v1.4.4 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.2 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 // indirect
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/hashicorp/go-version v1.3.0 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
golang.org/x/net v0.0.0-20220809184613-07c6da5e1ced // indirect
golang.org/x/sys v0.0.0-20220808155132-1c4a2a72c664 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
google.golang.org/genproto v0.0.0-20211223182754-3ac035c7e7cb // indirect
google.golang.org/grpc v1.43.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
google.golang.org/genproto v0.0.0-20220810155839-1856144b1d9c // indirect
google.golang.org/grpc v1.48.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
)
Loading

0 comments on commit 3c41188

Please sign in to comment.