Update release workflow #11
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
format: | |
name: Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Install Aftman | |
uses: ok-nick/[email protected] | |
- name: Check Formatting | |
run: stylua --check . | |
lint: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Install Aftman | |
uses: ok-nick/[email protected] | |
- name: Check Linting | |
run: selene lib tests | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Install Aftman | |
uses: ok-nick/[email protected] | |
- name: Build | |
run: rojo build --output build.rbxm default.project.json | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: build.rbxm |