fix(ci): update actions versions
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Clone lush
|
- name: Clone lush
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: NTBBloodbath/selene-action@v1.0.0
|
- uses: NTBBloodbath/selene-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
6
.github/workflows/doc.yml
vendored
6
.github/workflows/doc.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Setup git
|
- name: Setup git
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
@@ -26,13 +26,13 @@ jobs:
|
|||||||
run: git checkout -b ${VIMDOC_BRANCH}
|
run: git checkout -b ${VIMDOC_BRANCH}
|
||||||
|
|
||||||
- name: panvimdoc
|
- name: panvimdoc
|
||||||
uses: kdheepak/panvimdoc@v2.7.2
|
uses: kdheepak/panvimdoc@v2.7.3
|
||||||
with:
|
with:
|
||||||
# Output vimdoc project name
|
# Output vimdoc project name
|
||||||
vimdoc: zenbones
|
vimdoc: zenbones
|
||||||
pandoc: doc/zenbones.md
|
pandoc: doc/zenbones.md
|
||||||
description: "A collection of contrast-based vim/neovim colorschemes"
|
description: "A collection of contrast-based vim/neovim colorschemes"
|
||||||
version: "Vim v8.1 / Neovim 0.6.0"
|
version: "Vim v8.1 / Nvim 0.6.0"
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
run: |
|
run: |
|
||||||
if ! [[ -z $(git status -s) ]]; then
|
if ! [[ -z $(git status -s) ]]; then
|
||||||
|
|||||||
7
.github/workflows/format.yml
vendored
7
.github/workflows/format.yml
vendored
@@ -14,9 +14,8 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
STYLUA_VERSION: 0.12.2
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup git
|
- name: Setup git
|
||||||
run: |
|
run: |
|
||||||
@@ -25,12 +24,12 @@ jobs:
|
|||||||
printf 'STYLE_BRANCH=bot/style/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
|
printf 'STYLE_BRANCH=bot/style/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
|
||||||
git checkout -b ${STYLE_BRANCH}
|
git checkout -b ${STYLE_BRANCH}
|
||||||
|
|
||||||
- uses: JohnnyMorganz/stylua-action@1.0.0
|
- uses: JohnnyMorganz/stylua-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
args: --check lua
|
args: --check lua
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
- name: Apply prettier
|
- name: Apply prettier
|
||||||
run: |
|
run: |
|
||||||
npm install -g prettier
|
npm install -g prettier
|
||||||
|
|||||||
Reference in New Issue
Block a user