ci: bump github actions versions #18616

This commit is contained in:
dundargoc 2022-05-21 05:45:10 +02:00 committed by GitHub
parent 79469e61d5
commit 12f45fd697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 29 additions and 29 deletions

View File

@ -28,7 +28,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0

View File

@ -15,7 +15,7 @@ jobs:
) )
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
# required to find all branches # required to find all branches
fetch-depth: 0 fetch-depth: 0

View File

@ -29,7 +29,7 @@ jobs:
env: env:
CC: gcc CC: gcc
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup common environment variables - name: Setup common environment variables
run: ./.github/workflows/env.sh lint run: ./.github/workflows/env.sh lint
@ -93,7 +93,7 @@ jobs:
cp $build_dir/uncrustify ${{ env.CACHE_UNCRUSTIFY }} cp $build_dir/uncrustify ${{ env.CACHE_UNCRUSTIFY }}
- name: Cache artifacts - name: Cache artifacts
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
${{ env.CACHE_NVIM_DEPS_DIR }} ${{ env.CACHE_NVIM_DEPS_DIR }}
@ -182,7 +182,7 @@ jobs:
CC: ${{ matrix.cc }} CC: ${{ matrix.cc }}
CI_OS_NAME: ${{ matrix.os }} CI_OS_NAME: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup common environment variables - name: Setup common environment variables
run: ./.github/workflows/env.sh ${{ matrix.flavor }} run: ./.github/workflows/env.sh ${{ matrix.flavor }}
@ -229,7 +229,7 @@ jobs:
run: ./ci/install.sh run: ./ci/install.sh
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
${{ env.CACHE_NVIM_DEPS_DIR }} ${{ env.CACHE_NVIM_DEPS_DIR }}
@ -269,9 +269,9 @@ jobs:
DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }} DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }}
name: windows (MSVC_64) name: windows (MSVC_64)
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/cache@v2 - uses: actions/cache@v3
with: with:
path: ${{ env.DEPS_BUILD_DIR }} path: ${{ env.DEPS_BUILD_DIR }}
key: ${{ hashFiles('third-party\**') }} key: ${{ hashFiles('third-party\**') }}

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}

View File

@ -8,7 +8,7 @@ jobs:
scan: scan:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
run: | run: |

View File

@ -10,7 +10,7 @@ jobs:
contents: read contents: read
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/labeler@main - uses: actions/labeler@v4
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: "" sync-labels: ""
@ -40,7 +40,7 @@ jobs:
permissions: permissions:
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Request reviewers' - name: 'Request reviewers'
uses: actions/github-script@v6 uses: actions/github-script@v6
with: with:

View File

@ -21,7 +21,7 @@ jobs:
version: ${{ steps.build.outputs.version }} version: ${{ steps.build.outputs.version }}
release: ${{ steps.build.outputs.release }} release: ${{ steps.build.outputs.release }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install dependencies - name: Install dependencies
@ -41,12 +41,12 @@ jobs:
make DESTDIR="$GITHUB_WORKSPACE/build/release/nvim-linux64" install make DESTDIR="$GITHUB_WORKSPACE/build/release/nvim-linux64" install
cd "$GITHUB_WORKSPACE/build/" cd "$GITHUB_WORKSPACE/build/"
cpack -C $NVIM_BUILD_TYPE cpack -C $NVIM_BUILD_TYPE
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: nvim-linux64 name: nvim-linux64
path: build/nvim-linux64.tar.gz path: build/nvim-linux64.tar.gz
retention-days: 1 retention-days: 1
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: nvim-linux64 name: nvim-linux64
path: build/nvim-linux64.deb path: build/nvim-linux64.deb
@ -55,7 +55,7 @@ jobs:
appimage: appimage:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install dependencies - name: Install dependencies
@ -66,12 +66,12 @@ jobs:
run: CC=gcc-11 make appimage-latest run: CC=gcc-11 make appimage-latest
- if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly') - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly')
run: CC=gcc-11 make appimage-nightly run: CC=gcc-11 make appimage-nightly
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: appimage name: appimage
path: build/bin/nvim.appimage path: build/bin/nvim.appimage
retention-days: 1 retention-days: 1
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: appimage name: appimage
path: build/bin/nvim.appimage.zsync path: build/bin/nvim.appimage.zsync
@ -80,7 +80,7 @@ jobs:
macOS: macOS:
runs-on: macos-10.15 runs-on: macos-10.15
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install brew packages - name: Install brew packages
@ -112,7 +112,7 @@ jobs:
fi fi
done done
tar cfz nvim-macos.tar.gz nvim-osx64 tar cfz nvim-macos.tar.gz nvim-osx64
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: nvim-macos name: nvim-macos
path: build/release/nvim-macos.tar.gz path: build/release/nvim-macos.tar.gz
@ -130,18 +130,18 @@ jobs:
archive: nvim-win64 archive: nvim-win64
name: windows (${{ matrix.config }}) name: windows (${{ matrix.config }})
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- run: powershell ci\build.ps1 -NoTests - run: powershell ci\build.ps1 -NoTests
env: env:
CONFIGURATION: ${{ matrix.config }} CONFIGURATION: ${{ matrix.config }}
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.archive }} name: ${{ matrix.archive }}
path: build/${{ matrix.archive }}.zip path: build/${{ matrix.archive }}.zip
retention-days: 1 retention-days: 1
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.archive }} name: ${{ matrix.archive }}
path: build/${{ matrix.archive }}.msi path: build/${{ matrix.archive }}.msi
@ -157,9 +157,9 @@ jobs:
steps: steps:
# Must perform checkout first, since it deletes the target directory # Must perform checkout first, since it deletes the target directory
# before running, and would therefore delete the downloaded artifacts # 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 - name: Install dependencies
run: | run: |

View File

@ -8,7 +8,7 @@ jobs:
permissions: permissions:
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Remove reviewers' - name: 'Remove reviewers'
uses: actions/github-script@v6 uses: actions/github-script@v6
with: with:

View File

@ -9,7 +9,7 @@ jobs:
permissions: permissions:
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: 'Request reviewers' - name: 'Request reviewers'
uses: actions/github-script@v6 uses: actions/github-script@v6
with: with:

View File

@ -14,11 +14,11 @@ jobs:
VERSION_BRANCH: marvim/ci-version-update VERSION_BRANCH: marvim/ci-version-update
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
repository: vim/vim repository: vim/vim
path: ${{ env.VIM_SOURCE_DIR }} path: ${{ env.VIM_SOURCE_DIR }}