diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34c5a4b..a6ddd09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,48 +1,10 @@ name: CI on: - pull_request: - branches: - - 'master' + pull_request: # TODO: Set this back to only master schedule: - - cron: '0 21 * * *' + - cron: '37 0 * * *' # Nightly at 00:37 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 + ci: + uses: athena-framework/actions/.github/workflows/ci.yml@master