Skip to content

chore(deps): update actions/checkout digest to c85c95e #11

chore(deps): update actions/checkout digest to c85c95e

chore(deps): update actions/checkout digest to c85c95e #11

name: Module Swapper Tests
on:
pull_request:
branches:
- 'master'
paths:
- 'infra/build/developer-tools/build/scripts/module-swapper/**'
- '.github/workflows/go-module-swapper.yml'
concurrency:
group: '${{github.workflow}}-${{ github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
unit:
name: ${{ matrix.operating-system }} unit tests
runs-on: ${{ matrix.operating-system }}
defaults:
run:
shell: bash
working-directory: 'infra/build/developer-tools/build/scripts/module-swapper'
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4
with:
go-version-file: infra/build/developer-tools/build/scripts/module-swapper/go.mod
cache-dependency-path: infra/build/developer-tools/build/scripts/module-swapper/go.sum
- run: |-
go test ./... -v