From db98b3ec9a6cde4af960ce0c7c08fc3994bd28d0 Mon Sep 17 00:00:00 2001 From: Maj Date: Tue, 24 Oct 2023 11:13:05 +0200 Subject: [PATCH 1/2] Update Checkout to V4 --- .github/workflows/main.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e37f122..41f7018 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: runs-on: windows-latest steps: - name: Check out source code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Download Internet run: npm install - name: Run eslint @@ -61,7 +61,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out source code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - run: npm install - run: npm audit --audit-level=moderate --production - run: npm audit --audit-level=critical @@ -70,7 +70,7 @@ jobs: runs-on: windows-latest steps: - name: Check out source code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Download Internet run: npm install - name: Enable Developer Command Prompt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd8a649..abcb126 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Developer Command Prompt uses: ilammy/msvc-dev-cmd@release/v1 - name: Check out source code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Compile and run some C code shell: cmd run: | @@ -26,6 +26,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out source code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - run: npm audit --audit-level=moderate --production - run: npm audit --audit-level=critical From dbe330d442227fe9f4fc31963e527f0700b5c91b Mon Sep 17 00:00:00 2001 From: Maj Date: Tue, 24 Oct 2023 11:14:00 +0200 Subject: [PATCH 2/2] Update Readme examples checkout to V4 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 59f62dd..5f46fc4 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Basic usage for default compilation settings is like this: jobs: test: steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 - name: Build something requiring CL.EXE run: | @@ -41,7 +41,7 @@ jobs: - amd64_x86 - amd64_arm64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 with: arch: ${{ matrix.arch }}