Skip to content

chore(deps): pin dependencies (#6) #11

chore(deps): pin dependencies (#6)

chore(deps): pin dependencies (#6) #11

Workflow file for this run

name: ci
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
NUGET_PACKAGES: '${{ github.workspace }}/.nuget/packages'
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 0
- name: NuGet Cache
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with:
path: |
${{ env.NUGET_PACKAGES }}
.nuke/temp
key: ${{ runner.os }}-nuget-${{ hashFiles('**/global.json', '**/*.csproj', '**/*.props') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Setup .NET
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4
- name: Restore .NET Tools
run: |
dotnet tool restore
- name: Restore
run: |
dotnet nuke Restore --skip
- name: Compile
run: |
dotnet nuke Compile --skip
- name: Test
run: |
dotnet nuke Test --skip