aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml31
1 files changed, 2 insertions, 29 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 64dcff9..aa9a2e7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -14,36 +14,9 @@ jobs:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
- otp-version: "26.0.2"
- gleam-version: "0.34.0"
- rebar3-version: "3"
- # elixir-version: "1.15.4"
+ gleam-version: "0.34.1"
- run: gleam deps download
- run: gleam format --check src test
- run: gleam test
-
- - run: |
- mkdir wasm-compiler
- cd wasm-compiler
- curl -L "https://github.com/gleam-lang/gleam/releases/download/v0.34.1/gleam-v0.34.1-browser.tar.gz" | tar xz
- cd ..
-
+ - run: ./bin/download-compiler
- run: gleam run
-
- # Deploy to GitHub pages.
- # These steps only run for the main branch, each has an `if`.
-
- - name: Setup Pages
- uses: actions/configure-pages@v4
- if: github.ref == 'refs/heads/main'
-
- - name: Upload artifact
- uses: actions/upload-pages-artifact@v3
- with:
- path: 'public'
- if: github.ref == 'refs/heads/main'
-
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v4
- if: github.ref == 'refs/heads/main'