From e962cc330f68b57fe7f407d43ee3b86cd8f8cd18 Mon Sep 17 00:00:00 2001 From: n-ogawa Date: Sun, 19 Nov 2023 16:55:12 +0900 Subject: [PATCH 1/4] Add support for .NET 8 --- .github/workflows/reusable-e2e.yml | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-e2e.yml b/.github/workflows/reusable-e2e.yml index cf0f6777..da260ac5 100644 --- a/.github/workflows/reusable-e2e.yml +++ b/.github/workflows/reusable-e2e.yml @@ -2,6 +2,7 @@ name: E2E Test on: workflow_call: + workflow_dispatch: jobs: e2e_test: @@ -10,7 +11,7 @@ jobs: fail-fast: false matrix: operating-system: [ ubuntu-latest, windows-latest, macos-latest ] - dotnet-version: [ '3.1', '5.0', '6.0', '7.0' ] + dotnet-version: [ '3.1', '5.0', '6.0', '7.0', '8.0' ] steps: - uses: actions/checkout@v3 - uses: actions/setup-dotnet@v3 diff --git a/README.md b/README.md index e9bace96..0eb5320e 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' # [3.1.x, 5.0.x, 6.0.x, 7.0.x] + dotnet-version: '8.0.x' # [3.1.x, 5.0.x, 6.0.x, 7.0.x, 8.0.x] - name: Restore run: dotnet restore - name: Inspect code From 05a9f1217a13fc52d490722618b44fd6f0f1a9ac Mon Sep 17 00:00:00 2001 From: n-ogawa Date: Sun, 19 Nov 2023 16:56:01 +0900 Subject: [PATCH 2/4] Bump action version --- .github/workflows/release.yml | 6 +++--- .github/workflows/reusable-e2e.yml | 2 +- .github/workflows/test.yml | 2 +- README.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23f7d45a..062f6e31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: pull_request: ${{ steps.tagpr.outputs.pull_request }} tag: ${{ steps.tagpr.outputs.tag }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: tagpr uses: Songmu/tagpr@v1 env: @@ -28,7 +28,7 @@ jobs: env: MAJOR_TAG: v1 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Update Tag run: | git config --local user.email github-actions[bot]@users.noreply.github.com @@ -40,7 +40,7 @@ jobs: if: ${{ needs.tagpr.outputs.tag == '' && needs.tagpr.outputs.pull_request != '' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ fromJSON(needs.tagpr.outputs.pull_request).head.ref }} - name: Install Dependencies diff --git a/.github/workflows/reusable-e2e.yml b/.github/workflows/reusable-e2e.yml index da260ac5..d2528019 100644 --- a/.github/workflows/reusable-e2e.yml +++ b/.github/workflows/reusable-e2e.yml @@ -13,7 +13,7 @@ jobs: operating-system: [ ubuntu-latest, windows-latest, macos-latest ] dotnet-version: [ '3.1', '5.0', '6.0', '7.0', '8.0' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ matrix.dotnet-version }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a6edd273..ae62c6b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: lint_unittest: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | npm install - run: | diff --git a/README.md b/README.md index 0eb5320e..6ab0589c 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ jobs: name: Inspection steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v3 with: From 819784e49bfca70fb10a70cd51db0a28b3ce9358 Mon Sep 17 00:00:00 2001 From: n-ogawa Date: Sun, 19 Nov 2023 16:57:35 +0900 Subject: [PATCH 3/4] Add E2E test temporarily --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae62c6b2..8e77be17 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,3 +15,5 @@ jobs: npm install - run: | npm run all + e2e_test: + uses: ./.github/workflows/reusable-e2e.yml From 992b5979d2c42efcc1b4ddd65cd380113fe044b2 Mon Sep 17 00:00:00 2001 From: n-ogawa Date: Sun, 19 Nov 2023 17:00:10 +0900 Subject: [PATCH 4/4] Remove E2E test from Pull Request trigger --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e77be17..ae62c6b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,5 +15,3 @@ jobs: npm install - run: | npm run all - e2e_test: - uses: ./.github/workflows/reusable-e2e.yml