Skip to content

Pin GitHub Actions to full-length commit SHAs #175

Pin GitHub Actions to full-length commit SHAs

Pin GitHub Actions to full-length commit SHAs #175

Workflow file for this run

name: dotnet build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
defaults:
run:
working-directory: src
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Setup .NET
uses: actions/setup-dotnet@55ec9447dda3d1cf6bd587150f3262f30ee10815 # v3.4.2
with:
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore