Skip to content

Bump the test-lib group across 1 directory with 3 updates #426

Bump the test-lib group across 1 directory with 3 updates

Bump the test-lib group across 1 directory with 3 updates #426

Workflow file for this run

name: Build and Test on Pull Request
on:
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
shell:
- pwsh
include:
- os: windows-latest
shell: pwsh
- os: windows-latest
shell: powershell
# NOTE: disable fail-fast to run tests on all platforms.
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
uses: ./.github/actions/test
with:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
shell: ${{ matrix.shell }}
- name: Run Snyk to check for vulnerabilities
# NOTE: snyk/actions uses Container action that is only supported on Linux.
# NOTE: skip snyk/actions when PR is from forked repository.
if: runner.os == 'Linux' && github.event.pull_request.head.repo.full_name == github.repository
uses: snyk/actions/dotnet@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: test
args: --all-projects --org=krymtkts