Skip to content

Commit

Permalink
as vars?
Browse files Browse the repository at this point in the history
  • Loading branch information
bwireman committed Jun 8, 2024
1 parent 67e144b commit aa79698
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@ on:
pull_request:

env:
OPT_VER: 26.0.2
GLEAM_VER: 1.2.0
REBAR_VER: 3
otp-version: 26.0.2
gleam-version: 1.2.0
rebar3-version: 3

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: $OPT_VER
gleam-version: $GLEAM_VER
rebar3-version: $REBAR_VER
- run: gleam deps download
- run: gleam test
- run: gleam format --check src test
Expand All @@ -33,10 +29,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "$OPT_VER"
gleam-version: "$GLEAM_VER"
rebar3-version: "$REBAR_VER"
- run: gleam run

node:
Expand All @@ -47,10 +39,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "$OPT_VER"
gleam-version: "$GLEAM_VER"
rebar3-version: "$REBAR_VER"
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -64,10 +52,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "$OPT_VER"
gleam-version: "$GLEAM_VER"
rebar3-version: "$REBAR_VER"
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: gleam run --target javascript --runtime bun

0 comments on commit aa79698

Please sign in to comment.