Skip to content

ci(test): added golang setup to test go install command #52

ci(test): added golang setup to test go install command

ci(test): added golang setup to test go install command #52

Workflow file for this run

name: lint
on:
push:
branches:
- main
paths:
- "lua/**/*.lua"
- "tests/**/**.lua"
pull_request:
branches:
- main
paths:
- "lua/**/*.lua"
- "tests/**/**.lua"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Run selene
uses: NTBBloodbath/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --display-style quiet lua/freeze-code
style-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Lint with stylua
uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .