From 74f24b41d1c15d52dae7d4cbf5070efd21768e46 Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl Date: Tue, 3 Jan 2023 16:38:50 +0100 Subject: [PATCH 1/2] Use most recent setup-node --- .github/workflows/artifact-tests.yml | 2 +- .github/workflows/audit.yml | 2 +- .github/workflows/cache-tests.yml | 2 +- .github/workflows/releases.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- docs/action-types.md | 2 +- docs/container-action.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/artifact-tests.yml b/.github/workflows/artifact-tests.yml index 737e4a9f..abeecb57 100644 --- a/.github/workflows/artifact-tests.yml +++ b/.github/workflows/artifact-tests.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v2 - name: Set Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 84e60498..da63c833 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v2 - name: Set Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/cache-tests.yml b/.github/workflows/cache-tests.yml index 9a0d6d67..43e95d20 100644 --- a/.github/workflows/cache-tests.yml +++ b/.github/workflows/cache-tests.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v2 - name: Set Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 35efe909..bb679efe 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -19,7 +19,7 @@ jobs: run: ls packages/${{ github.event.inputs.package }} - name: Set Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 2a41516a..5ecd0b6f 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v2 - name: Set Node.js 16.x - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x diff --git a/docs/action-types.md b/docs/action-types.md index 56310931..299ce76a 100644 --- a/docs/action-types.md +++ b/docs/action-types.md @@ -32,7 +32,7 @@ jobs: os: [ubuntu-16.04, windows-2019] runs-on: ${{matrix.os}} actions: - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: version: ${{matrix.node}} - run: | diff --git a/docs/container-action.md b/docs/container-action.md index 4c1adf2b..06f3a246 100644 --- a/docs/container-action.md +++ b/docs/container-action.md @@ -18,7 +18,7 @@ e.g. To use https://github.com/actions/setup-node, users will author: ```yaml steps: - using: actions/setup-node@v1 + using: actions/setup-node@v3 ``` # Define Metadata From 56146a6713811df5fa51ceacaf6140139fb85a1b Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl Date: Tue, 3 Jan 2023 16:59:01 +0100 Subject: [PATCH 2/2] Bump actions to newer versions --- .github/workflows/artifact-tests.yml | 2 +- .github/workflows/audit.yml | 2 +- .github/workflows/cache-tests.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/releases.yml | 6 +++--- .github/workflows/unit-tests.yml | 2 +- .github/workflows/update-github.yaml | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/artifact-tests.yml b/.github/workflows/artifact-tests.yml index abeecb57..c82b3801 100644 --- a/.github/workflows/artifact-tests.yml +++ b/.github/workflows/artifact-tests.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 16.x uses: actions/setup-node@v3 diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index da63c833..918a68de 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 16.x uses: actions/setup-node@v3 diff --git a/.github/workflows/cache-tests.yml b/.github/workflows/cache-tests.yml index 43e95d20..cac6d20b 100644 --- a/.github/workflows/cache-tests.yml +++ b/.github/workflows/cache-tests.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 16.x uses: actions/setup-node@v3 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 813e2f79..67077405 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index bb679efe..51649a3e 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -13,7 +13,7 @@ jobs: steps: - name: setup repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: verify package exists run: ls packages/${{ github.event.inputs.package }} @@ -40,7 +40,7 @@ jobs: working-directory: packages/${{ github.event.inputs.package }} - name: upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ github.event.inputs.package }} path: packages/${{ github.event.inputs.package }}/*.tgz @@ -52,7 +52,7 @@ jobs: steps: - name: download artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: ${{ github.event.inputs.package }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 5ecd0b6f..dc9231da 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 16.x uses: actions/setup-node@v3 diff --git a/.github/workflows/update-github.yaml b/.github/workflows/update-github.yaml index fbceeec1..6de4eed2 100644 --- a/.github/workflows/update-github.yaml +++ b/.github/workflows/update-github.yaml @@ -9,7 +9,7 @@ jobs: if: ${{ github.repository_owner == 'actions' }} steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Update Octokit working-directory: packages/github run: | @@ -30,7 +30,7 @@ jobs: fi - name: Create PR if: ${{steps.status.outputs.createPR}} - uses: actions/github-script@v2 + uses: actions/github-script@v6 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |