From 8062e2ab19ece9aaf07e6b729a538ba29e41dbf0 Mon Sep 17 00:00:00 2001 From: Peter Mescalchin Date: Wed, 9 Mar 2022 12:17:17 +1100 Subject: [PATCH] Bump `actions/checkout@v3` --- .github/workflows/check-dist.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/licensed.yml | 2 +- .github/workflows/test.yml | 6 +++--- README.md | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 217ad8f..a1da843 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set Node.js 12.x uses: actions/setup-node@v1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4376f4c..692bd99 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,7 +17,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/licensed.yml b/.github/workflows/licensed.yml index 4c1dfe5..04af62a 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest name: Check licenses steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: npm ci - name: Install licensed run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d9caa7..8d1f139 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 12.x uses: actions/setup-node@v1 @@ -50,7 +50,7 @@ jobs: run: | mkdir -p path/to/dir-1 mkdir -p path/to/dir-2 - mkdir -p path/to/dir-3 + mkdir -p path/to/dir-3 echo "Lorem ipsum dolor sit amet" > path/to/dir-1/file1.txt echo "Hello world from file #2" > path/to/dir-2/file2.txt echo "This is a going to be a test for a large enough file that should get compressed with GZip. The @actions/artifact package uses GZip to upload files. This text should have a compression ratio greater than 100% so it should get uploaded using GZip" > path/to/dir-3/gzip.txt @@ -127,7 +127,7 @@ jobs: Write-Error "File contents of downloaded artifacts are incorrect" } shell: pwsh - + # Download Artifact #3 and verify the correctness of the content - name: 'Download artifact #3' uses: actions/download-artifact@v1 diff --git a/README.md b/README.md index a8ef47c..65dbbbb 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ See [action.yml](action.yml) ```yaml steps: -- uses: actions/checkout@v2 +- uses: actions/checkout@v3 - run: mkdir -p path/to/artifact @@ -209,7 +209,7 @@ For environment variables created in other steps, make sure to use the `env` exp ```yaml steps: - - run: | + - run: | mkdir testing echo "This is a file to upload" > testing/file.txt echo "artifactPath=testing/file.txt" >> $GITHUB_ENV