fix: clone repositories in specific branch #5
Workflow file for this run
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: Lint and Test | |
on: | |
- pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- if: env.ACT == 'true' | |
run: | | |
apt-get update && apt-get install -y unzip && apt-get clean | |
- uses: JohnnyMorganz/stylua-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: "latest" | |
args: --check . | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
- uses: actions/checkout@v4 | |
- if: env.ACT == 'true' | |
run: | | |
apt-get update | |
apt-get install -y make git | |
apt-get clean | |
- run: | | |
make test |