-
Notifications
You must be signed in to change notification settings - Fork 70
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
1 parent
5c000b9
commit 961289c
Showing
9 changed files
with
74 additions
and
562 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 |
---|---|---|
|
@@ -5,21 +5,27 @@ on: [push] | |
jobs: | ||
build_and_test: | ||
runs-on: ubuntu-latest | ||
name: OTP ${{matrix.otp}} | ||
strategy: | ||
matrix: | ||
otp: ["23.2", "24.0"] | ||
otp: ["24.0", "25.0"] | ||
name: OTP ${{matrix.otp}} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: gleam-lang/[email protected] | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: erlef/[email protected] | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
otp-version: ${{ matrix.otp }} | ||
rebar3-version: "3.20.0" | ||
|
||
- name: Compile | ||
run: make compile | ||
|
||
- name: Run xref | ||
run: make xref | ||
|
||
- name: Run dialyzer | ||
run: make dialyze | ||
|
||
- name: Run eunit tests | ||
run: make eunit | ||
|
||
|
@@ -28,16 +34,7 @@ jobs: | |
needs: build_and_test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- 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 }} | ||
- name: Create Tag (Release) | ||
uses: kivra/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ ebin | |
deps | ||
.rebar | ||
*.plt | ||
_build/* | ||
_build/* | ||
*.xml |
Oops, something went wrong.