From e883874db97b8b05ea23c34925ea59b36fdfc4dc Mon Sep 17 00:00:00 2001 From: technote-space Date: Fri, 14 Oct 2022 15:28:30 +0000 Subject: [PATCH] chore: sync workflows --- .github/workflows/add-test-tag.yml | 2 +- .github/workflows/ci.yml | 22 +++++++++++----------- .github/workflows/pr-updated.yml | 4 ++-- .github/workflows/update-dependencies.yml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/add-test-tag.yml b/.github/workflows/add-test-tag.yml index 156fa3d4..b192d2ca 100644 --- a/.github/workflows/add-test-tag.yml +++ b/.github/workflows/add-test-tag.yml @@ -18,7 +18,7 @@ jobs: with: CONFIG_FILENAME: workflow-settings.json, workflow-details.json IGNORE_WARNING: 'true' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: technote-space/get-git-comment-action@v1 - name: Get version uses: technote-space/get-next-version-action@v1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6ea3753..d343495f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Set running flag run: echo "RUNNING=1" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: technote-space/get-git-comment-action@v1 - uses: technote-space/get-diff-action@gh-actions with: @@ -28,7 +28,7 @@ jobs: run: echo "RUNNING=" >> $GITHUB_ENV if: "! env.GIT_DIFF" - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: 16 cache: yarn @@ -50,11 +50,11 @@ jobs: timeout-minutes: 10 strategy: matrix: - os: [ubuntu-18.04, ubuntu-latest, ubuntu-20.04, macos-latest] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-latest] steps: - name: Set running flag run: echo "RUNNING=1" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: technote-space/get-git-comment-action@v1 - uses: technote-space/get-diff-action@gh-actions with: @@ -82,7 +82,7 @@ jobs: echo "RUNNING=" >> $GITHUB_ENV fi - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: 16 cache: yarn @@ -110,8 +110,8 @@ jobs: timeout-minutes: 5 if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 16 cache: yarn @@ -121,7 +121,7 @@ jobs: CONFIG_FILENAME: workflow-settings.json, workflow-details.json IGNORE_WARNING: 'true' - name: Release GitHub Actions - uses: technote-space/release-github-actions@v7 + uses: technote-space/release-github-actions@v8 with: OUTPUT_BUILD_INFO_FILENAME: build.json TEST_TAG_PREFIX: test/ @@ -148,7 +148,7 @@ jobs: fi env: NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 if: env.RUNNING - name: Check package version uses: technote-space/package-version-check-action@v1 @@ -170,14 +170,14 @@ jobs: if: env.RUNNING && matrix.target == 'gpr' - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16 registry-url: https://registry.npmjs.org/ cache: yarn if: env.RUNNING && matrix.target == 'npm' - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16 registry-url: https://npm.pkg.github.com diff --git a/.github/workflows/pr-updated.yml b/.github/workflows/pr-updated.yml index 8f2bdc98..ee4f5fdd 100644 --- a/.github/workflows/pr-updated.yml +++ b/.github/workflows/pr-updated.yml @@ -61,7 +61,7 @@ jobs: IGNORE_WARNING: 'true' - name: Set running flag run: echo "RUNNING=1" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} - name: Set running flag @@ -107,7 +107,7 @@ jobs: env: NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} if: env.RUNNING diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 9ffbd6a3..9ad2f7d3 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -51,7 +51,7 @@ jobs: - name: Set running flag run: echo "RUNNING2=1" >> $GITHUB_ENV if: env.RUNNING1 && steps.update_deps.outputs.result != 'succeeded' && github.event_name == 'pull_request' && github.event.action != 'closed' && startsWith(github.head_ref, 'release/') - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 if: env.RUNNING2 - name: Set running flag run: |