Skip to content

provisioner: add support for configuring AWS IMDSv2 access method (#3… #1

provisioner: add support for configuring AWS IMDSv2 access method (#3…

provisioner: add support for configuring AWS IMDSv2 access method (#3… #1

name: Run unit tests
on:
push:
branches: [ main ]
paths:
- 'components/provisioner/**'
pull_request:
branches: [ main ]
paths:
- 'components/provisioner/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up go environment
uses: actions/setup-go@v5
with:
go-version-file: 'components/provisioner/go.mod'
cache-dependency-path: 'components/provisioner/go.mod'
- name: Run unit tests
run: |
mkdir -p /home/runner/go/pkg/mod
make -C components/provisioner verify