mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Merge 48b79f5866
into 3243b8e0e0
This commit is contained in:
commit
718ff86846
2 changed files with 18 additions and 8 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -11,8 +11,11 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
crystal: [latest, nightly]
|
||||
include:
|
||||
- { os: ubuntu-latest, crystal: latest, allowed-failure: false }
|
||||
- { os: ubuntu-latest, crystal: nightly, allowed-failure: false }
|
||||
- { os: macos-latest, allowed-failure: false }
|
||||
- { os: windows-latest, allowed-failure: true }
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
@ -33,9 +36,20 @@ jobs:
|
|||
run: |
|
||||
crystal spec
|
||||
crystal spec --release --no-debug
|
||||
continue-on-error: ${{ matrix.allowed-failure }}
|
||||
|
||||
- name: Check formatting
|
||||
run: crystal tool format --check
|
||||
|
||||
- name: Run ameba linter
|
||||
run: bin/ameba
|
||||
check_ameba:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Crystal
|
||||
uses: crystal-lang/install-crystal@v1
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Crystal Ameba Linter
|
||||
id: crystal-ameba
|
||||
uses: crystal-ameba/github-action@v0.7.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
@ -12,10 +12,6 @@ dependencies:
|
|||
github: crystal-loot/exception_page
|
||||
version: ~> 0.4.1
|
||||
|
||||
development_dependencies:
|
||||
ameba:
|
||||
github: crystal-ameba/ameba
|
||||
|
||||
crystal: ">= 0.36.0"
|
||||
|
||||
license: MIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue