Day 1 complete, Day 2 ... almost #4
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
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 |