build(neovim_toolchain): mark target as binary #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout commit | |
uses: actions/checkout@main | |
- name: Install Please | |
run: curl https://get.please.build | bash && echo ~/.please >> $GITHUB_PATH | |
- name: Run tests | |
run: plz test | |
lint-lua: | |
name: Lint Lua | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout commit | |
uses: actions/checkout@main | |
- name: Lint with Stylua | |
uses: JohnnyMorganz/stylua-action@main | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
args: --check --color always . | |
lint-build: | |
name: Lint BUILD | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout commit | |
uses: actions/checkout@main | |
- name: Install Please | |
run: curl https://get.please.build | bash && echo ~/.please >> $GITHUB_PATH | |
- name: Lint with plz format | |
run: | | |
plz format --write | |
if ! git diff --quiet; then | |
echo 'The following files need to be formatted with "plz format --write"': | |
git --no-pager diff --name-only | |
exit 1 | |
fi |