-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from SuperBuker/release_0.0.4
Release 0.0.4
- Loading branch information
Showing
26 changed files
with
223 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,14 +18,14 @@ jobs: | |
strategy: | ||
max-parallel: 1 | ||
matrix: | ||
go-version: [ '1.20.x' ] # To extend | ||
go-version: [ '1.21.x' ] # To extend | ||
terraform-version : [ '1.0.x', '1.1.x', '1.2.x', '1.3.x', '1.4.x' ] # To extend | ||
|
||
steps: | ||
- uses: actions/checkout@v3.5.2 | ||
- uses: actions/checkout@v4.1.0 | ||
|
||
- name: Setup Go ${{ matrix.go-version }} | ||
uses: actions/setup-go@v4.0.1 | ||
uses: actions/setup-go@v4.1.0 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
cache: true | ||
|
@@ -42,7 +42,7 @@ jobs: | |
run: terraform version | ||
|
||
- name: Terraform provider cache | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
key: terraform-provider-dns-he-net | ||
path: ~/.config/terraform-provider-dns-he-net/ | ||
|
@@ -51,8 +51,9 @@ jobs: | |
run: go mod download | ||
|
||
- name: Run linter | ||
uses: golangci/golangci-lint-action@v3.4.0 | ||
uses: golangci/golangci-lint-action@v3.7.0 | ||
with: | ||
args: --timeout=10m | ||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | ||
version: v1.52.0 | ||
|
||
|
@@ -64,6 +65,7 @@ jobs: | |
DNSHENET_USER: ${{ secrets.DNSHENET_USER }} | ||
DNSHENET_PASSWD: ${{ secrets.DNSHENET_PASSWD }} | ||
DNSHENET_OTP: ${{ secrets.DNSHENET_OTP }} | ||
DNSHENET_ACCOUNTID: ${{ secrets.DNSHENET_ACCOUNTID }} | ||
TF_ACC: "1" | ||
run: | | ||
go test -v ./... -covermode count -coverprofile coverage.out -json > TestResults-${{ matrix.go-version }}-${{ matrix.terraform-version }}.json || true | ||
|
@@ -74,7 +76,7 @@ jobs: | |
# run: go build -v ./... | ||
|
||
- name: Upload Go test results | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
name: Go-results-${{ matrix.go-version }}-${{ matrix.terraform-version }} | ||
path: TestResults-${{ matrix.go-version }}-${{ matrix.terraform-version }}.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.