Skip to content

Merge pull request #4046 from nickcaballero/fix/vm-extra-config-copy #3309

Merge pull request #4046 from nickcaballero/fix/vm-extra-config-copy

Merge pull request #4046 from nickcaballero/fix/vm-extra-config-copy #3309

name: Unit Tests
permissions:
contents: read
actions: read
on:
push:
branches: main
pull_request:
branches: main
jobs:
go-tests:
name: Run Unit Tests
strategy:
matrix:
go-version: ["1.25", "1.26"]
platform: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
timeout-minutes: 10
steps:
- name: Check Repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Restore Go Cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ matrix.go-version }}-
- name: Run Tests
env:
TEST_COUNT: 1
TEST_RACE_HISTORY_SIZE: 5
TEST_TIMEOUT: 5m
TEST_OPTS: ""
run: make go-test