Skip to content

Day 1 complete, Day 2 ... almost #4

Day 1 complete, Day 2 ... almost

Day 1 complete, Day 2 ... almost #4

Workflow file for this run

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