Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
laytan committed Jul 10, 2024
1 parent 3e93b1b commit c479993
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: 0 20 * * *

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: laytan/setup-odin@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Checks
run: odin check . -no-entry-point -vet -strict-style -vet-tabs
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# The /home/runner/odin directory is in the PATH so output it there.
odin build . -out:/home/runner/odin/odin-doc
cd /home/runner
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Generate documentation
run: ./docs/generate.sh
- uses: actions/configure-pages@v3
Expand Down

0 comments on commit c479993

Please sign in to comment.