Skip to content

Commit

Permalink
feat(workflows): update ci & nightly workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
devnote-dev committed Sep 30, 2024
1 parent 877196e commit a349b02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@ jobs:
with:
crystal: latest

- name: Install Dependencies
run: shards install --production

- name: Install Ameba
uses: crystal-ameba/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check Format
run: crystal tool format --check

- name: Check Unreachable
run: crystal tool unreachable src/main.cr --check
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Nightly

on:
schedule:
- cron: 0 0 * * *
- cron: 0 6 * * 6

permissions:
actions: write
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: latest
crystal: nightly

- name: Install Dependencies
run: shards install --production
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: latest
crystal: nightly

- name: Install Dependencies
run: shards install --production
Expand Down

0 comments on commit a349b02

Please sign in to comment.