Skip to content

Commit

Permalink
Updating the CI file to match other Lucky projects (#17)
Browse files Browse the repository at this point in the history
* 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
jwoertink authored Oct 30, 2023
1 parent 4e72a54 commit 14d04fe
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 28 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
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
24 changes: 0 additions & 24 deletions .github/workflows/crystal.yml

This file was deleted.

1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add this to your application's `shard.yml`:
```yaml
dependencies:
carbon_smtp_adapter:
github: your-github-user/carbon_smtp_adapter
github: luckyframework/carbon_smtp_adapter
```
## Usage
Expand Down Expand Up @@ -45,15 +45,15 @@ end

## Contributing

1. Fork it (<https://github.com/oneiros/carbon_smtp_adapter/fork>)
1. Fork it (<https://github.com/luckyframework/carbon_smtp_adapter/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [oneiros](https://github.com/oneiros) David Roetzel - creator, maintainer
- [oneiros](https://github.com/oneiros) David Roetzel - creator

With many thanks to:

Expand Down

0 comments on commit 14d04fe

Please sign in to comment.