Skip to content

[need #2] Testing GHA #4

[need #2] Testing GHA

[need #2] Testing GHA #4

Workflow file for this run

name: run tests
on:
pull_request:
branches: [ "*" ]
permissions:
id-token: write
jobs:
testGo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Golang caches
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
- name: run go tests
env:
RUN_INTEGRATION_TESTS: true
run: |
go test -v ./...