From e0f036e43d6b7642edbc08dbe57dd499794c25cf Mon Sep 17 00:00:00 2001 From: Idan Yaffe Date: Wed, 12 Oct 2022 12:21:43 +0200 Subject: [PATCH] updating to actions/checkout@v3 in order to avoid the set-output deprecation warning --- .github/workflows/build.yml | 4 ++-- .github/workflows/pull-request-verification.yml | 14 +++++++------- README.md | 16 ++++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcfa47e4..f3705f53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: | npm install npm run all @@ -17,7 +17,7 @@ jobs: self-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ./ id: filter with: diff --git a/.github/workflows/pull-request-verification.yml b/.github/workflows/pull-request-verification.yml index b3f6952f..8393dc1f 100644 --- a/.github/workflows/pull-request-verification.yml +++ b/.github/workflows/pull-request-verification.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: | npm install npm run all @@ -18,7 +18,7 @@ jobs: test-inline: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ./ id: filter with: @@ -37,7 +37,7 @@ jobs: test-external: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ./ id: filter with: @@ -49,7 +49,7 @@ jobs: test-without-token: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ./ id: filter with: @@ -62,7 +62,7 @@ jobs: test-wd-without-token: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: path: somewhere - uses: ./somewhere @@ -78,7 +78,7 @@ jobs: test-local-changes: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: echo "NEW FILE" > local - run: git add local - uses: ./ @@ -98,7 +98,7 @@ jobs: test-change-type: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: configure GIT user run: git config user.email "john@nowhere.local" && git config user.name "John Doe" - name: modify working tree diff --git a/README.md b/README.md index 1bf2481a..0b22258f 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: dorny/paths-filter@v2 id: filter with: @@ -230,7 +230,7 @@ jobs: if: ${{ needs.changes.outputs.backend == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - ... # JOB to build and test frontend code @@ -239,7 +239,7 @@ jobs: if: ${{ needs.changes.outputs.frontend == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - ... ``` @@ -275,7 +275,7 @@ jobs: package: ${{ fromJSON(needs.changes.outputs.packages) }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - ... ``` @@ -296,7 +296,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: dorny/paths-filter@v2 id: filter with: @@ -317,7 +317,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # This may save additional git fetch roundtrip if # merge-base is found within latest 20 commits @@ -345,7 +345,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: dorny/paths-filter@v2 id: filter with: @@ -373,7 +373,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # Some action that modifies files tracked by git (e.g. code linter) - uses: johndoe/some-action@v1