Update git-hooks to v2.1.1 #29
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, pull_request] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clone repository | |
uses: actions/checkout@v4 | |
- name: setup tools | |
uses: jdx/mise-action@v2 | |
with: | |
install: true | |
cache: true | |
- name: create public.json | |
run: touch src/public.json | |
- name: check lockfile | |
run: deno task deps:check | |
- name: check lint | |
run: | | |
deno lint | |
yamllint . | |
- name: check format | |
run: |- | |
deno fmt --check | |
yamlfmt -dry -lint . | |
- name: run tests | |
run: deno test --allow-read |