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:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
include:
|
||||||
crystal: [latest, nightly]
|
- { 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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -33,9 +36,20 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
crystal spec
|
crystal spec
|
||||||
crystal spec --release --no-debug
|
crystal spec --release --no-debug
|
||||||
|
continue-on-error: ${{ matrix.allowed-failure }}
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: crystal tool format --check
|
run: crystal tool format --check
|
||||||
|
|
||||||
- name: Run ameba linter
|
check_ameba:
|
||||||
run: bin/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
|
github: crystal-loot/exception_page
|
||||||
version: ~> 0.4.1
|
version: ~> 0.4.1
|
||||||
|
|
||||||
development_dependencies:
|
|
||||||
ameba:
|
|
||||||
github: crystal-ameba/ameba
|
|
||||||
|
|
||||||
crystal: ">= 0.36.0"
|
crystal: ">= 0.36.0"
|
||||||
|
|
||||||
license: MIT
|
license: MIT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue