From 99bfe7b6caebc39c6abfe55f174c3bab89859efd Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Sat, 19 Nov 2022 23:16:28 +0000 Subject: [PATCH 1/2] Upgrade ci.yml to latest actions --- .github/workflows/ci.yml | 6 +++--- src/Directory.Build.targets | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c523175c..639bcf45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,13 +36,13 @@ jobs: package_version: ${{ steps.build_script.outputs.package_version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup .NET Core 3.1 uses: actions/setup-dotnet@v1 with: dotnet-version: "3.1.x" - name: Setup .NET 6 - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: "6.0.x" - name: Run build script @@ -54,7 +54,7 @@ jobs: name: packages path: artifacts/ if-no-files-found: error - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3 with: name: unittests-${{ matrix.os }} fail_ci_if_error: true diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 4bab4755..5f7f297f 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -10,8 +10,8 @@ - - + + From 11407c58186ad4b960d000942b176803062bcb97 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Sat, 19 Nov 2022 23:23:54 +0000 Subject: [PATCH 2/2] Update more outdated things --- .github/workflows/ci.yml | 2 +- .github/workflows/docs.yml | 2 +- docs/samples/helloworld-async/AsyncBuilderApi.csproj | 2 +- docs/samples/helloworld-attributes/HelloWorldAttributes.csproj | 2 +- docs/samples/helloworld/HelloWorld.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 639bcf45..ecc1dd39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup .NET Core 3.1 - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: "3.1.x" - name: Setup .NET 6 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3bfedb4d..b5881d2b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup .NET 6 - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: '6.0.x' - name: Run docs generation diff --git a/docs/samples/helloworld-async/AsyncBuilderApi.csproj b/docs/samples/helloworld-async/AsyncBuilderApi.csproj index d9b13a07..6a5da0ac 100644 --- a/docs/samples/helloworld-async/AsyncBuilderApi.csproj +++ b/docs/samples/helloworld-async/AsyncBuilderApi.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 diff --git a/docs/samples/helloworld-attributes/HelloWorldAttributes.csproj b/docs/samples/helloworld-attributes/HelloWorldAttributes.csproj index d75be916..1d22a369 100644 --- a/docs/samples/helloworld-attributes/HelloWorldAttributes.csproj +++ b/docs/samples/helloworld-attributes/HelloWorldAttributes.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 enable diff --git a/docs/samples/helloworld/HelloWorld.csproj b/docs/samples/helloworld/HelloWorld.csproj index 135c4fc5..652699c6 100644 --- a/docs/samples/helloworld/HelloWorld.csproj +++ b/docs/samples/helloworld/HelloWorld.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 enable