Fixed a CI/CD.yaml syntax error? #28
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: Atom Pipeline | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- uses: ok-nick/[email protected] | |
with: | |
version: v0.3.0 | |
path: "." | |
cache: false | |
token: ${{ github.token }} | |
- name: "aftman install" | |
run: aftman install | |
StyLua: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- uses: JohnnyMorganz/stylua-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: v2.0.1 # NOTE: we recommend pinning to a specific version in case of formatting changes | |
# CLI arguments | |
args: --syntax="Luau" src | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- uses: NTBBloodbath/[email protected] | |
with: | |
token: ${{ github.token }} | |
args: src |