diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e6605f6..8614d12 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,7 @@ updates: directory: "/" schedule: interval: "daily" # until we settle into a cadence + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a2a87c5..bfa0837 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -2,7 +2,7 @@ name: Build and test on: push: - branches: [ master ] + branches: [ main ] pull_request: branches: - main @@ -14,15 +14,16 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: fetch-depth: 0 # Nerdbank.GitVersioning requires non-shallow checkout + persist-credentials: false - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 with: dotnet-version: | - 6.0.x 8.0.x + 10.0.x - name: Restore run: dotnet restore -bl:LocatorRestore.binlog - name: Build @@ -32,13 +33,13 @@ jobs: - name: Pack run: dotnet pack --no-build --configuration Debug -bl:LocatorPack.binlog - name: Upload Packages - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: package path: '**/*.*nupkg' if-no-files-found: error - name: Upload logs - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: ${{ always() }} with: name: logs