diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index ce8ed7996a..167d799c27 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -28,7 +28,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 75ee81d368..b5fd22d036 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -15,7 +15,7 @@ jobs: ) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # required to find all branches fetch-depth: 0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4516d19fa6..4657053167 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: env: CC: gcc steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup common environment variables run: ./.github/workflows/env.sh lint @@ -93,7 +93,7 @@ jobs: cp $build_dir/uncrustify ${{ env.CACHE_UNCRUSTIFY }} - name: Cache artifacts - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ${{ env.CACHE_NVIM_DEPS_DIR }} @@ -182,7 +182,7 @@ jobs: CC: ${{ matrix.cc }} CI_OS_NAME: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup common environment variables run: ./.github/workflows/env.sh ${{ matrix.flavor }} @@ -229,7 +229,7 @@ jobs: run: ./ci/install.sh - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ${{ env.CACHE_NVIM_DEPS_DIR }} @@ -269,9 +269,9 @@ jobs: DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }} name: windows (MSVC_64) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ${{ env.DEPS_BUILD_DIR }} key: ${{ hashFiles('third-party\**') }} diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index f190981322..a742b411da 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml index 833c8506dd..064da54456 100644 --- a/.github/workflows/coverity-scan.yml +++ b/.github/workflows/coverity-scan.yml @@ -8,7 +8,7 @@ jobs: scan: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install dependencies run: | diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 7845ae92a3..f85f9d0cda 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -10,7 +10,7 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/labeler@main + - uses: actions/labeler@v4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: "" @@ -40,7 +40,7 @@ jobs: permissions: pull-requests: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: 'Request reviewers' uses: actions/github-script@v6 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a95b57a657..518a30158b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: version: ${{ steps.build.outputs.version }} release: ${{ steps.build.outputs.release }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install dependencies @@ -41,12 +41,12 @@ jobs: make DESTDIR="$GITHUB_WORKSPACE/build/release/nvim-linux64" install cd "$GITHUB_WORKSPACE/build/" cpack -C $NVIM_BUILD_TYPE - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: nvim-linux64 path: build/nvim-linux64.tar.gz retention-days: 1 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: nvim-linux64 path: build/nvim-linux64.deb @@ -55,7 +55,7 @@ jobs: appimage: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install dependencies @@ -66,12 +66,12 @@ jobs: run: CC=gcc-11 make appimage-latest - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly') run: CC=gcc-11 make appimage-nightly - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: appimage path: build/bin/nvim.appimage retention-days: 1 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: appimage path: build/bin/nvim.appimage.zsync @@ -80,7 +80,7 @@ jobs: macOS: runs-on: macos-10.15 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install brew packages @@ -112,7 +112,7 @@ jobs: fi done tar cfz nvim-macos.tar.gz nvim-osx64 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: nvim-macos path: build/release/nvim-macos.tar.gz @@ -130,18 +130,18 @@ jobs: archive: nvim-win64 name: windows (${{ matrix.config }}) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - run: powershell ci\build.ps1 -NoTests env: CONFIGURATION: ${{ matrix.config }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: ${{ matrix.archive }} path: build/${{ matrix.archive }}.zip retention-days: 1 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: ${{ matrix.archive }} path: build/${{ matrix.archive }}.msi @@ -157,9 +157,9 @@ jobs: steps: # Must perform checkout first, since it deletes the target directory # before running, and would therefore delete the downloaded artifacts - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 - name: Install dependencies run: | diff --git a/.github/workflows/remove-reviewers-on-draft.yml b/.github/workflows/remove-reviewers-on-draft.yml index 64474618b8..f707f79737 100644 --- a/.github/workflows/remove-reviewers-on-draft.yml +++ b/.github/workflows/remove-reviewers-on-draft.yml @@ -8,7 +8,7 @@ jobs: permissions: pull-requests: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: 'Remove reviewers' uses: actions/github-script@v6 with: diff --git a/.github/workflows/reviews.yml b/.github/workflows/reviews.yml index 964f57b871..34ce19d830 100644 --- a/.github/workflows/reviews.yml +++ b/.github/workflows/reviews.yml @@ -9,7 +9,7 @@ jobs: permissions: pull-requests: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: 'Request reviewers' uses: actions/github-script@v6 with: diff --git a/.github/workflows/vim-patches.yml b/.github/workflows/vim-patches.yml index 453d293b0e..45e6b81aed 100644 --- a/.github/workflows/vim-patches.yml +++ b/.github/workflows/vim-patches.yml @@ -14,11 +14,11 @@ jobs: VERSION_BRANCH: marvim/ci-version-update GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: repository: vim/vim path: ${{ env.VIM_SOURCE_DIR }}