diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e390d0..5436f7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,14 +20,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version-file: "go.mod" - name: Import GPG key id: import_gpg @@ -38,7 +38,7 @@ jobs: passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v5 with: version: latest args: release --rm-dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e12d34..84bdee3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,20 +11,22 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.49.0 + version: v1.54 + args: --timeout=10m check: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 - - name: Checkout - uses: actions/checkout@v3 + go-version-file: "go.mod" - name: Get dependencies run: go mod download diff --git a/go.mod b/go.mod index 612cdbd..923c3ac 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hirosassa/terraform-provider-looker -go 1.19 +go 1.20 require ( github.com/hashicorp/terraform-plugin-docs v0.7.0