Skip to content

Merge pull request #15 from sasaplus1/use-hooks-file #472

Merge pull request #15 from sasaplus1/use-hooks-file

Merge pull request #15 from sasaplus1/use-hooks-file #472

Workflow file for this run

name: test
on:
- push
- pull_request
jobs:
deploy-and-test:
name: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- macos-15
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: rm -f ~/.bash{_logout,_profile,rc} ~/.docker/config.json ~/.gitconfig ~/.profile
- run: make deploy
- run: make test
- run: test "$(make test)" = 'done.'
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker://koalaman/shellcheck:stable
with:
args: >
bash/.bash_logout
bash/.bash_profile
bash/.bashrc
bash/.profile
vint:
name: vint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.11
- run: pip install vim-vint
- run: >
find vim \( -name '.vimrc*' -or -name '*.vim' \) -print0 |
xargs -0 vint