-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* added github actions to divo #48 Co-authored-by: Saad Rasheed <saad.a.rasheed@accenture.com> Co-authored-by: Christine Walsh <christine.poydence@gmail.com>
- Loading branch information
1 parent
2d5ffad
commit 2d2a15a
Showing
7 changed files
with
63 additions
and
41 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,29 @@ | ||
name: divo | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
ci: | ||
name: Verify Application | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-elixir@v1.5.0 | ||
with: | ||
otp-version: 21.3 | ||
elixir-version: 1.10.4 | ||
experimental-otp: true | ||
- name: Get dependencies | ||
run: | | ||
bash scripts/gh-action-get-deps.sh | ||
- name: Run tests | ||
run: | | ||
bash scripts/gh-action-test.sh |
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,24 @@ | ||
name: release | ||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
ci: | ||
name: Publish Hex Version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-elixir@v1.5.0 | ||
with: | ||
otp-version: 21.3 | ||
elixir-version: 1.10.4 | ||
experimental-otp: true | ||
- name: Get dependencies | ||
run: | | ||
bash scripts/gh-action-get-deps.sh | ||
- name: Build | ||
run: | | ||
bash scripts/deploy.sh | ||
env: | ||
HEX_API_KEY: ${{ secrets.HEX_API_KEY }} |
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
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
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,3 @@ | ||
mix local.rebar --force | ||
mix local.hex --force | ||
mix deps.get |
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,4 @@ | ||
mix format --check-formatted | ||
mix credo | ||
mix hex.outdated || true | ||
mix test |