Skip to content

chore: test

chore: test #275

Workflow file for this run

name: Snapshot Tests
on: [push]
defaults:
run:
working-directory: framework/pods
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
permissions:
id-token: write
contents: read
runs-on: ${{ matrix.test.vm }}
strategy:
fail-fast: false
matrix:
test:
- test: test
vm: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: framework/go.mod
- name: Install dependencies
run: go mod download
- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: go-modules-${{ hashFiles('go.sum') }}-${{ runner.os }}-test
restore-keys: |
go-modules-${{ runner.os }}-test
- uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6 # v2.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
just-version: '1.39.0'
- name: Run tests
run: |
just ${{ matrix.test.test }}