This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Make triple hatch use cached pass ownership #306
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: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: ok-nick/setup-aftman@v0.3.0 | |
name: Install Aftman | |
with: | |
token: ${{ SECRETS.GITHUB_TOKEN }} | |
- name: Lint | |
run: | | |
selene ./src | |
style: | |
name: Style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: JohnnyMorganz/stylua-action@v3 | |
with: | |
token: ${{ SECRETS.GITHUB_TOKEN }} | |
version: latest | |
args: --check ./src |