mirror of
https://gitea.invidious.io/iv-org/shard-athena-negotiation.git
synced 2024-08-15 00:53:23 +00:00
Update CI configuration (#8)
* Leverage centralized workflow configuration * Update scheduled run so it executes _after_ nightlies are published
This commit is contained in:
parent
333abca50d
commit
c15379251a
2 changed files with 12 additions and 48 deletions
12
.github/workflows/athena.yml
vendored
Normal file
12
.github/workflows/athena.yml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
name: Athena
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'master'
|
||||
schedule:
|
||||
- cron: '37 0 * * *' # Nightly at 00:37
|
||||
|
||||
jobs:
|
||||
CI:
|
||||
uses: athena-framework/actions/.github/workflows/ci.yml@master
|
48
.github/workflows/ci.yml
vendored
48
.github/workflows/ci.yml
vendored
|
@ -1,48 +0,0 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'master'
|
||||
schedule:
|
||||
- cron: '0 21 * * *'
|
||||
|
||||
jobs:
|
||||
check_format:
|
||||
runs-on: ubuntu-latest
|
||||
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…
Reference in a new issue