-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from NicklasXYZ/main
Fix various issues and todo's
- Loading branch information
Showing
35 changed files
with
7,644 additions
and
7,403 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,29 +5,24 @@ on: | |
tags: ["v*"] | ||
|
||
jobs: | ||
publish: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: erlef/setup-beam@v1 | ||
- uses: actions/[email protected] | ||
- uses: erlef/[email protected] | ||
with: | ||
otp-version: "25.0" | ||
gleam-version: "0.25.3" | ||
|
||
otp-version: "26.0.2" | ||
gleam-version: "0.30.5" | ||
- run: cargo install tomlq | ||
|
||
- run: | | ||
if [ "v$(tomlq version -f gleam.toml)" == "${{ github.ref_name }}" ]; then | ||
exit 0 | ||
fi | ||
echo "tag does not match version in gleam.toml, refusing to publish" | ||
exit 1 | ||
- run: gleam format --check | ||
|
||
- run: gleam test | ||
|
||
- run: gleam format --check src test | ||
- run: gleam test --target erlang | ||
- run: gleam test --target javascript | ||
- run: gleam publish -y | ||
env: | ||
HEXPM_USER: ${{ secrets.HEX_USERNAME }} | ||
|
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 |
---|---|---|
|
@@ -14,14 +14,14 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: erlef/setup-beam@v1 | ||
- uses: actions/checkout@v3.1.0 | ||
- uses: erlef/setup-beam@v1.16.0 | ||
with: | ||
otp-version: "25.0" | ||
gleam-version: "0.28.3" | ||
otp-version: "26.0.2" | ||
gleam-version: "0.30.5" | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "16.18.1" | ||
- run: gleam format --check src test | ||
- run: gleam test --target erlang | ||
- run: gleam test --target javascript | ||
- run: gleam format --check src test | ||
- run: gleam test --target javascript |
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
Oops, something went wrong.