Skip to content

Commit 12ea012

Browse files
Merge branch 'master' into dependabot/go_modules/golang.org/x/oauth2-0.27.0
2 parents 2e0834b + abbb61d commit 12ea012

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+295
-165
lines changed

.github/workflows/release.yaml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,29 @@ name: release
22

33
on:
44
push:
5-
branches:
6-
- master
5+
tags:
6+
- v*.*.*
77

8-
jobs:
9-
tag-release:
10-
uses: form3tech/tfe-providers-gh-workflows/.github/workflows/release.yml@v0.2.10
11-
secrets: inherit
12-
permissions:
13-
id-token: write
14-
contents: write
8+
permissions:
9+
contents: write
1510

11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Code
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
with:
18+
fetch-depth: 0
19+
- name: Setup Golang
20+
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
21+
with:
22+
go-version-file: 'go.mod'
23+
cache: true
24+
- name: Run GoReleaser
25+
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
26+
with:
27+
version: '~> v2'
28+
args: release --clean
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ require (
7676
github.com/shurcooL/githubv4 v0.0.0-20221126192849-0b5c4c7994eb // indirect
7777
github.com/shurcooL/graphql v0.0.0-20220606043923-3cf50f8a0a29 // indirect
7878
github.com/spf13/afero v1.4.1 // indirect
79-
github.com/ulikunitz/xz v0.5.10 // indirect
79+
github.com/ulikunitz/xz v0.5.14 // indirect
8080
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
8181
github.com/vmihailenco/tagparser v0.1.1 // indirect
8282
github.com/zclconf/go-cty v1.8.2 // indirect

go.sum

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,9 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
572572
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
573573
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
574574
github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
575-
github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8=
576575
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
576+
github.com/ulikunitz/xz v0.5.14 h1:uv/0Bq533iFdnMHZdRBTOlaNMdb1+ZxXIlHDZHIHcvg=
577+
github.com/ulikunitz/xz v0.5.14/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
577578
github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
578579
github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvCazn8G65U=
579580
github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4=

goreleaser.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1+
version: 2
12
archives:
2-
- format: zip
3+
- formats:
4+
- zip
35
builds:
4-
- binary: terraform-provider-githubfile_v{{.Version}}
5-
env:
6-
- CGO_ENABLED=0
7-
goarch:
8-
- amd64
9-
- arm64
10-
goos:
11-
- darwin
12-
- linux
13-
- windows
14-
# ignore unsupported GOOS/GOARCH pair windows/arm64
15-
# https://goreleaser.com/deprecations/#builds-for-windowsarm64
16-
ignore:
17-
- goos: windows
18-
goarch: arm64
6+
- binary: terraform-provider-githubfile_v{{.Version}}
7+
env:
8+
- CGO_ENABLED=0
9+
goarch:
10+
- amd64
11+
- arm64
12+
goos:
13+
- darwin
14+
- linux
15+
- windows
16+
ignore:
17+
- goos: windows
18+
goarch: arm64
1919
changelog:
2020
filters:
2121
exclude:
22-
- "^Merge pull request"
23-
- "^Merge branch"
22+
- "^Merge pull request"
23+
- "^Merge branch"

scripts/goreleaser.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

vendor/github.com/ulikunitz/xz/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ulikunitz/xz/LICENSE

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ulikunitz/xz/README.md

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ulikunitz/xz/SECURITY.md

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ulikunitz/xz/TODO.md

Lines changed: 27 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)