mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
Try to fix GitHub Actions
This commit is contained in:
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
build_image:
|
build_image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Build docker run image
|
- name: Build docker run image
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- '--neovim-08-only'
|
- '--neovim-08-only'
|
||||||
- '--linters-only'
|
- '--linters-only'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./run-tests -v ${{ matrix.vim-version }}
|
run: ./run-tests -v ${{ matrix.vim-version }}
|
||||||
test_ale_windows:
|
test_ale_windows:
|
||||||
@@ -41,8 +41,9 @@ jobs:
|
|||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
# Stop git from changing newlines
|
# Stop git from changing newlines
|
||||||
run: git config --global core.autocrlf input
|
run: git config --global core.autocrlf input
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
path: C:\testplugin
|
with:
|
||||||
|
path: C:\testplugin
|
||||||
- name: Try to Restore Vim
|
- name: Try to Restore Vim
|
||||||
id: cache-vim
|
id: cache-vim
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
@@ -69,7 +70,7 @@ jobs:
|
|||||||
path: C:\vader
|
path: C:\vader
|
||||||
key: ${{ runner.os }}-vader
|
key: ${{ runner.os }}-vader
|
||||||
- name: Install Vader
|
- name: Install Vader
|
||||||
if: steps.cache-vim-vader.outputs.cache-hit != 'true'
|
if: steps.cache-vader.outputs.cache-hit != 'true'
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run:
|
run:
|
||||||
if (!(Test-Path -Path C:\vader)){
|
if (!(Test-Path -Path C:\vader)){
|
||||||
|
|||||||
Reference in New Issue
Block a user