Skip to content

Provisioner - Update Golang version to 1.23.1 (#3481) #128

Provisioner - Update Golang version to 1.23.1 (#3481)

Provisioner - Update Golang version to 1.23.1 (#3481) #128

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