Skip to content
name: .NET Build and Test for DfE.CoreLibs.Caching
on:
push:
branches:
- main
paths:
- 'src/DfE.CoreLibs.Caching/**'
jobs:
build-and-test:
uses: ./.github/workflows/build-test-template.yml
with:
project_name: DfE.CoreLibs.Caching
project_path: src/DfE.CoreLibs.Caching
sonar_project_key: DFE-Digital_corelibs-caching
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 18 in .github/workflows/build-test-caching.yml

View workflow run for this annotation

GitHub Actions / .NET Build and Test for DfE.CoreLibs.Caching

Invalid workflow file

The workflow is not valid. .github/workflows/build-test-caching.yml (Line: 18, Col: 21): Invalid secret, GITHUB_TOKEN is not defined in the referenced workflow. .github/workflows/build-test-caching.yml (Line: 19, Col: 20): Invalid secret, SONAR_TOKEN is not defined in the referenced workflow.
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}