Skip to content

Reduce GitHub Action permissions #223

Reduce GitHub Action permissions

Reduce GitHub Action permissions #223

Workflow file for this run

name: test-dotnet
permissions: {}
on:
push:
branches:
- main
- renovate/**
paths:
- dotnet/**
- testdata/**
- .github/**
pull_request:
branches:
- main
paths:
- dotnet/**
- testdata/**
- .github/**
jobs:
test-dotnet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
with:
dotnet-version: |
10.0.x
- run: dotnet test --solution Cucumber.Query.slnx
working-directory: dotnet