diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 922ee27..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @hashicorp/terraform-devex diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md deleted file mode 100644 index 0c8b092..0000000 --- a/.github/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,5 +0,0 @@ -# Code of Conduct - -HashiCorp Community Guidelines apply to you when interacting with the community here on GitHub and contributing code. - -Please read the full text at https://www.hashicorp.com/community-guidelines diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 611520e..fa2243b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: - args: release --rm-dist + args: release --clean env: # GitHub sets the GITHUB_TOKEN secret automatically. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 90a749e..f99b50c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,10 @@ jobs: go-version-file: 'go.mod' - run: go mod download - run: go build -v . + - name: Run linters + uses: golangci/golangci-lint-action@v3 + with: + version: latest generate: name: Generate runs-on: ubuntu-latest @@ -54,6 +58,8 @@ jobs: - '1.0.*' - '1.1.*' - '1.2.*' + - '1.3.*' + - '1.4.*' steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 @@ -68,5 +74,5 @@ jobs: - env: FASTLY_API_TOKEN: ${{ secrets.FASTLY_API_TOKEN }} TF_ACC: "1" - run: go test -v -cover ./internal/provider/ + run: make testacc timeout-minutes: 10