Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzploss-k committed Jan 12, 2024
1 parent 5c000b9 commit 006914c
Show file tree
Hide file tree
Showing 9 changed files with 75 additions and 563 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ ebin
deps
.rebar
*.plt
_build/*
_build/*
*.xml
Loading

0 comments on commit 006914c

Please sign in to comment.