Skip to content

Commit

Permalink
Fix failed CI job
Browse files Browse the repository at this point in the history
Avoids compile error in Crystal v1.9:

```
Error: type must be Ameba::Severity, not (Ameba::Severity | Nil)
```

See <https://github.com/GrottoPress/shield/actions/runs/5629199930/job/15253904670>.
  • Loading branch information
akadusei committed Jul 22, 2023
1 parent 245f15e commit 0ab896b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
key: ${{ runner.os }}-shards-${{ hashFiles('shard.yml') }}
restore-keys: ${{ runner.os }}-shards-
- name: Install shards
run: shards update
run: shards update --skip-postinstall --skip-executables
- name: Install Postgresql
run: sudo apt -y install postgresql
- name: Start Postgresql
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
key: ${{ runner.os }}-shards-${{ hashFiles('shard.yml') }}
restore-keys: ${{ runner.os }}-shards-
- name: Install shards
run: shards update
run: shards update --skip-postinstall --skip-executables
- name: Install CockroachDB
run: |
sudo apt -y install tar wget
Expand Down

0 comments on commit 0ab896b

Please sign in to comment.