Skip to content

fix(deps): update all non-major dependencies (#690) #33

fix(deps): update all non-major dependencies (#690)

fix(deps): update all non-major dependencies (#690) #33

Workflow file for this run

name: Tag
on:
push:
tags:
- "*"
jobs:
build:
name: Build
permissions:
id-token: write # required for AWS assume role
# This is because the permission block is replacive instead of additive so setting
# id-token removes any other permissions the job has and goreleaser need to write contents
contents: write
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ["1.3.8"]
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Checkout
uses: actions/checkout@v4
with:
# We need the whole history so that goreleaser can figure out the changes
fetch-depth: 0
- name: Install Terraform
run: |
wget https://releases.hashicorp.com/terraform/${{ matrix.terraform }}/terraform_${{ matrix.terraform }}_linux_amd64.zip -O /tmp/terraform.zip
sudo unzip -o -d /usr/local/bin/ /tmp/terraform.zip
- uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::043612128888:role/nrd-oss-terragrunt-github-actions-ci
- name: Run full tests on releases
env:
AWS_REGION: us-east-1
run: |
make full-test
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}