Skip to content

Commit

Permalink
Merge branch 'outdated-actions'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Aug 22, 2024
2 parents 8a61bdf + e4efe84 commit 3d7392c
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
version: nightly
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set Git user for running Git commands in unit tests
run: |
git config --global user.email "[email protected]"
git config --global user.name "github-action"
- name: Fetch Git history for unit tests
run: git fetch --no-tags --prune --unshallow
- name: Checkout themis.vim
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: thinca/vim-themis
path: vim-themis
Expand All @@ -37,17 +37,17 @@ jobs:
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
THEMIS_PROFILE: profile.txt
run: ./vim-themis/bin/themis ./test/all.vimspec
- uses: actions/setup-python@v1
- uses: actions/setup-python@v5
with:
python-version: '3'
- name: Report coverage
run: |
# https://github.com/Vimjas/covimerage/issues/95
pip install 'click<8.0.0'
pip install covimerage
covimerage write_coverage profile.txt
coverage report
coverage xml
- name: Upload coverage to codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -58,15 +58,15 @@ jobs:
neovim: [true, false]
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set Git user for running Git commands in unit tests
run: |
git config --global user.email "[email protected]"
git config --global user.name "github-action"
- name: Fetch Git history for unit tests
run: git fetch --no-tags --prune --unshallow
- name: Checkout themis.vim
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: thinca/vim-themis
path: vim-themis
Expand All @@ -84,7 +84,9 @@ jobs:
name: Run vint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- run: pip install vim-vint
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3'
- run: pip install setuptools vim-vint
- run: vint --warning --verbose --enable-neovim ./autoload ./plugin

0 comments on commit 3d7392c

Please sign in to comment.