Update actions/checkout action to v6 #83
This file contains hidden or 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 | |
| on: [push, pull_request] | |
| jobs: | |
| fmt: | |
| name: deno fmt | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Setup repo | |
| uses: actions/checkout@v6 | |
| - name: Setup Deno | |
| uses: denolib/setup-deno@v2 | |
| - name: Check formatting | |
| run: deno fmt --check | |
| lint: | |
| name: deno lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Setup repo | |
| uses: actions/checkout@v6 | |
| - name: Setup Deno | |
| uses: denolib/setup-deno@v2 | |
| - name: Run linter | |
| run: deno lint --unstable |