From c9ef525560a73f1364c3253352a3ba8c5ca69190 Mon Sep 17 00:00:00 2001 From: Clark Brown Date: Thu, 29 Feb 2024 21:45:52 -0700 Subject: [PATCH] update action workflows to use checkout@v4 --- .github/workflows/check-dist.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/licensed.yml | 4 ++-- .github/workflows/test.yml | 16 ++++++++-------- .github/workflows/update-main-version.yml | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 528449810..58bcce947 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Node.js 20.x uses: actions/setup-node@v1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d936b9c7c..c5c4309d1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 72ce2db7b..6747b56e3 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -9,6 +9,6 @@ jobs: runs-on: ubuntu-latest name: Check licenses steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: npm ci - - run: npm run licensed-check \ No newline at end of file + - run: npm run licensed-check diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d8c83acf4..2dac4c9dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ on: - releases/* -# Note that when you see patterns like "ref: test-data/v2/basic" within this workflow, +# Note that when you see patterns like "ref: test-data/v2/basic" within this workflow, # these refer to "test-data" branches on this actions/checkout repo. # (For example, test-data/v2/basic -> https://github.com/actions/checkout/tree/test-data/v2/basic) @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 20.x - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: npm ci - run: npm run build - run: npm run format-check @@ -37,7 +37,7 @@ jobs: steps: # Clone this repo - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Basic checkout - name: Checkout basic @@ -202,7 +202,7 @@ jobs: steps: # Clone this repo - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Basic checkout using git - name: Checkout basic @@ -234,7 +234,7 @@ jobs: steps: # Clone this repo - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Basic checkout using git - name: Checkout basic @@ -257,14 +257,14 @@ jobs: path: basic - name: Verify basic run: __test__/verify-basic.sh --archive - + test-git-container: runs-on: ubuntu-latest container: bitnami/git:latest steps: # Clone this repo - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: v3 @@ -292,6 +292,6 @@ jobs: # needed to make checkout post cleanup succeed - name: Fix Checkout v3 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: v3 diff --git a/.github/workflows/update-main-version.yml b/.github/workflows/update-main-version.yml index e2dc11134..107d94ddc 100644 --- a/.github/workflows/update-main-version.yml +++ b/.github/workflows/update-main-version.yml @@ -19,7 +19,7 @@ jobs: tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Git config