mirror of
https://gitea.invidious.io/iv-org/shard-athena-negotiation.git
synced 2024-08-15 00:53:23 +00:00
Test out reusable workflow
This commit is contained in:
parent
333abca50d
commit
070f7d493e
1 changed files with 4 additions and 42 deletions
46
.github/workflows/ci.yml
vendored
46
.github/workflows/ci.yml
vendored
|
@ -1,48 +1,10 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request: # TODO: Set this back to only master
|
||||||
branches:
|
|
||||||
- 'master'
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 21 * * *'
|
- cron: '37 0 * * *' # Nightly at 00:37
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_format:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
uses: athena-framework/actions/.github/workflows/ci.yml@master
|
||||||
container:
|
|
||||||
image: crystallang/crystal:latest-alpine
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Format
|
|
||||||
run: crystal tool format --check
|
|
||||||
coding_standards:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: crystallang/crystal:latest-alpine
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: shards install
|
|
||||||
- name: Ameba
|
|
||||||
run: ./bin/ameba
|
|
||||||
test_latest:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: crystallang/crystal:latest-alpine
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: shards install
|
|
||||||
- name: Specs
|
|
||||||
run: crystal spec --order random --error-on-warnings
|
|
||||||
test_nightly:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: crystallang/crystal:nightly-alpine
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: shards install
|
|
||||||
- name: Specs
|
|
||||||
run: crystal spec --order random --error-on-warnings
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue