-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1009 Bytes
/
gleam2024.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: 2024 Gleam Tests
on:
push:
paths:
- "2024/**/*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# - name: Install erlang
# run: |
# wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb
# sudo dpkg -i erlang-solutions_2.0_all.deb
# sudo apt-get update
# sudo apt-get install esl-erlang
# - name: Install Gleam
# run: |
# curl -fSsL https://gleam.run/install.sh | sh
# export PATH=$HOME/.gleam/bin:$PATH
- name: Install Gleam
uses: erlef/setup-beam@v1
with:
otp-version: false
gleam-version: '1.6'
- name: Verify Gleam Installation
run: gleam --version
- name: Run Gleam Check
working-directory: ./2024
run: gleam check
- name: Run Gleam tests
working-directory: ./2024
run: gleam test