From 55b8320bc92e7cce92a5653633d4e015504ddcde Mon Sep 17 00:00:00 2001 From: Simon Sawert Date: Sun, 26 May 2024 21:35:35 +0200 Subject: [PATCH] Update GitHub actions --- .github/workflows/test.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd7ca75..5150ebe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,9 @@ +--- name: test on: push: branches: - - master - main pull_request: @@ -11,13 +11,11 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.0.0 - - uses: gleam-lang/setup-erlang@v1.1.0 + - uses: actions/checkout@v4 + - uses: erlef/setup-beam@v1 with: - otp-version: 22.1 - - uses: gleam-lang/setup-gleam@v1.0.2 - with: - gleam-version: 0.12.0 - - run: rebar3 install_deps - - run: rebar3 eunit + otp-version: "26" + gleam-version: "1.1" + rebar3-version: "3" + - run: gleam test - run: gleam format --check src test