chore(deps): Update dependency cli to v5.21.2 (#18217) #1
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
name: Destination Plugin Kinesis Firehose Workflow | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths: | |
- "plugins/destination/firehose/**" | |
- ".github/workflows/dest_firehose.yml" | |
push: | |
branches: | |
- main | |
paths: | |
- "plugins/destination/firehose/**" | |
- ".github/workflows/dest_firehose.yml" | |
jobs: | |
plugins-destination-firehose: | |
timeout-minutes: 30 | |
name: "plugins/destination/firehose" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./plugins/destination/firehose | |
permissions: | |
id-token: write | |
contents: read # This is required for actions/checkout@v3 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: plugins/destination/firehose/go.mod | |
cache: true | |
cache-dependency-path: plugins/destination/firehose/go.sum | |
- name: golangci-lint | |
uses: cloudquery/golangci-lint-action@master | |
with: | |
version: v1.55.2 | |
working-directory: plugins/destination/firehose | |
args: "--config ../../.golangci.yml" | |
skip-pkg-cache: true | |
skip-build-cache: true | |
- name: gen | |
if: github.event_name == 'pull_request' | |
run: make gen | |
- name: Fail if generation updated files | |
if: github.event_name == 'pull_request' | |
run: test "$(git status -s | wc -l)" -eq 0 || (git status -s; exit 1) | |
- name: Build | |
run: go build . | |
# - name: Configure AWS credentials | |
# uses: aws-actions/configure-aws-credentials@v1 | |
# with: | |
# role-to-assume: arn:aws:iam::615713231484:role/destination-s3 | |
# aws-region: us-east-1 | |
# - name: Test firehose plugin | |
# run: make test | |