diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 29b0352b..090567b7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -27,12 +27,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout main branch - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Setup .NET Core - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: ${{ env.DOTNET_VERSION }} @@ -48,7 +48,7 @@ jobs: # Upload the package using the SHA in the name of the artifact - name: Upload NuGet Package Artifacts if: github.event_name == 'release' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: nuget if-no-files-found: error @@ -69,7 +69,7 @@ jobs: - name: Upload Test Snapshots if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: verify-test-results retention-days: 7 @@ -80,12 +80,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout main branch - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: ${{ env.DOTNET_VERSION }} @@ -112,13 +112,13 @@ jobs: id-token: write steps: # Download the NuGet packages created in the build job for this tagged commit. - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: name: nuget path: . - name: Setup .NET Core - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: ${{ env.DOTNET_VERSION }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c37f19ae..08fd73ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,14 +85,14 @@ jobs: private-key: ${{ secrets.GH_APP_POSTHOG_DOTNET_RELEASER_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: main fetch-depth: 0 token: ${{ steps.releaser.outputs.token }} - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: ${{ env.DOTNET_VERSION }} diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..54c65116 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v24