-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
16 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 |
---|---|---|
|
@@ -8,23 +8,44 @@ jobs: | |
|
||
runs-on: ubuntu-latest | ||
|
||
name: OTP ${{matrix.otp}} | ||
strategy: | ||
matrix: | ||
otp: ["23.2", "24.0"] | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: gleam-lang/[email protected] | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
- uses: actions/checkout@v1 | ||
- name: Compile | ||
run: make | ||
- name: Run elvis | ||
run: make elvis_rock | ||
- name: Run xref | ||
run: make xref | ||
- name: Run dialyzer | ||
run: make dialyze | ||
- name: Run common tests | ||
run: make ct | ||
- name: Run elvis | ||
run: make elvis_rock | ||
|
||
|
||
dialyze: | ||
|
||
release: | ||
if: github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'no-release:') == false | ||
needs: build_and_test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run dialyzer | ||
run: make dialyze | ||
- name: Bump version and push tag | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Create a GitHub release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.tag_version.outputs.new_tag }} | ||
release_name: Release ${{ steps.tag_version.outputs.new_tag }} | ||
body: ${{ steps.tag_version.outputs.changelog }} | ||
|
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