-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating the CI file to match other Lucky projects (#17)
* Updating the CI file to match other Lucky projects * don't need travis. Update README for Lucky mentions. Fixing CI shard install error
- Loading branch information
Showing
4 changed files
with
50 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Carbon SMTP Adapter CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: "*" | ||
|
||
jobs: | ||
check_format: | ||
strategy: | ||
fail-fast: false | ||
runs-on: ubuntu-latest | ||
continue-on-error: false | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
- name: Install Crystal | ||
uses: crystal-lang/install-crystal@v1 | ||
- name: Install dependencies | ||
run: shards install | ||
- name: Format | ||
run: crystal tool format --check | ||
- name: Lint | ||
run: ./bin/ameba | ||
specs: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
crystal_version: [latest] | ||
include: | ||
- os: ubuntu-latest | ||
crystal_version: 1.4.0 | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: false | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
- name: Install Crystal | ||
uses: crystal-lang/install-crystal@v1 | ||
with: | ||
crystal: ${{ matrix.crystal_version }} | ||
- name: Install dependencies | ||
run: shards install --skip-postinstall --skip-executables | ||
- name: Run tests | ||
run: crystal spec |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters