Bump actions/checkout from 6.0.1 to 6.0.2 #334
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Test | |
| on: | |
| push: | |
| branches: [ "dev" ] | |
| paths-ignore: | |
| - "**.md" | |
| - ".editorconfig" | |
| - '**/*.gitignore' | |
| - '**/*.gitattributes' | |
| - '**/*.yml' | |
| pull_request: | |
| branches: [ "dev", "main" ] | |
| jobs: | |
| build: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| # Fetches all commits (needed for lerna / semantic release to correctly calculate version) | |
| fetch-depth: 0 | |
| # Whether to check out submodules: `true` to check out submodules or `recursive` to recursively check out submodules. | |
| submodules: "recursive" | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5.0.1 | |
| with: | |
| global-json-file: ./global.json | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| env: | |
| NUGET_AUTH_TOKEN: ${{ github.token }} | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore | |
| - name: Run tests | |
| run: dotnet test --no-restore --verbosity normal |