rename #367
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: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
concurrency: | |
group: build-and-test | |
cancel-in-progress: true | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/[email protected] | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: | | |
bun install | |
- name: Run Format | |
run: | | |
bun format | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "Apply formatting" | |
# check: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 3 | |
# steps: | |
# - uses: actions/[email protected] | |
# - uses: oven-sh/setup-bun@v1 | |
# with: | |
# bun-version: latest | |
# - name: Install dependencies | |
# run: | | |
# bun install | |
# - name: Run check | |
# run: | | |
# bun check | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/[email protected] | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: | | |
bun install | |
- name: Run Linter | |
run: | | |
bun lint |