From 163b3d968fe12651e530f6e82d390cf592893791 Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Tue, 30 Jan 2024 19:14:10 -0500 Subject: [PATCH] CI: Update first-party GitHub Actions to v4 GitHub Actions has deprecated actions based on node16. The v4 actions are based on node20. Replace first-party v2/v3 actions with their v4 counterparts. GitHub Actions has deprecated actions based on node12 and forces them to run on node16, which is also deprecated. Update to v4 actions to avoid warnings on CI. See: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ --- .github/workflows/crowdin_upload.yml | 2 +- .github/workflows/generate_docs.yml | 2 +- .github/workflows/lint.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/crowdin_upload.yml b/.github/workflows/crowdin_upload.yml index 65664b0f8..1955c8553 100644 --- a/.github/workflows/crowdin_upload.yml +++ b/.github/workflows/crowdin_upload.yml @@ -11,7 +11,7 @@ jobs: if: github.repository_owner == 'obsproject' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: Upload US English Language Files 🇺🇸 diff --git a/.github/workflows/generate_docs.yml b/.github/workflows/generate_docs.yml index 5ca7d06d4..ce1793d9f 100644 --- a/.github/workflows/generate_docs.yml +++ b/.github/workflows/generate_docs.yml @@ -18,7 +18,7 @@ jobs: IS_CI: "true" steps: - name: 'Checkout' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: ${{ github.workspace }}/obs-websocket - name: 'Generate docs' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 81edecc23..171ed24c1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: if: contains(github.event.head_commit.message, '[skip ci]') != true steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Generate docs run: cd docs && ./build_docs.sh - name: Run markdownlint-cli