Skip to content

Merge pull request #53 from hashicorp/smre-177-node20-update #326

Merge pull request #53 from hashicorp/smre-177-node20-update

Merge pull request #53 from hashicorp/smre-177-node20-update #326

Workflow file for this run

name: Build
on:
push:
paths:
- '**'
- '!**.md'
- '!dev/**'
- '!verify/**'
jobs:
build:
strategy:
matrix:
include:
- { runner: ubuntu, os: linux, arch: amd64 }
- { runner: ubuntu, os: linux, arch: arm64 }
- { runner: ubuntu, os: windows, arch: amd64 }
- { runner: ubuntu, os: windows, arch: arm64 }
- { runner: macos, os: darwin, arch: amd64 }
- { runner: macos, os: darwin, arch: arm64 }
runs-on: ${{ matrix.runner }}-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
# Dogfood this Action to build its own CLI.
- uses: ./
with:
# We override the default product name so that this test build
# of the CLI doesn't take the place of the cli built by the action.
product_name: actions-go-build-test-build
go_version: '1.20'
os: ${{ matrix.os }}
arch: ${{ matrix.arch }}
instructions: go build -o $BIN_PATH -trimpath -buildvcs=false