Skip to content

provider: Update aws-sdk-go-base and handle returned diags #13850

provider: Update aws-sdk-go-base and handle returned diags

provider: Update aws-sdk-go-base and handle returned diags #13850

Workflow file for this run

# Continuous integration handling for GoReleaser
name: GoReleaser CI
on:
push:
branches:
- main
- 'release/**'
pull_request:
paths:
- .github/workflows/goreleaser-ci.yml
- .goreleaser.yml
- go.sum
- main.go
- internal/**
- names/**
- skaff/**
- tools/**
jobs:
changes:
runs-on: ubuntu-latest
outputs:
goreleaser: ${{ steps.filter.outputs.goreleaser }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: filter
with:
filters: |
goreleaser:
- '.github/workflows/goreleaser-ci.yml'
- '.goreleaser.yml'
check:
needs: changes
if: ${{ needs.changes.outputs.goreleaser == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version-file: go.mod
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
continue-on-error: true
timeout-minutes: 2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
- name: goreleaser check
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0
with:
args: check
build-32-bit:
# Run a single compiler check for 32-bit architecture (FreeBSD/ARM)
# Ref: https://github.com/hashicorp/terraform-provider-aws/issues/8988
runs-on: [custom, linux, small]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version-file: go.mod
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
continue-on-error: true
timeout-minutes: 2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
- name: goreleaser build
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0
with:
args: build --config .github/goreleaser-cross-compiler-test.yml --id 32-bit-arch --snapshot