From 5c8db4c72841c7d5132f50613dd64fad58305f1f Mon Sep 17 00:00:00 2001 From: Isaac Date: Sat, 16 Nov 2024 16:40:11 +1100 Subject: [PATCH] update workflow to OTP 27 + Gleam 1.5.0 --- .github/workflows/test.yml | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6bbfb15..55647bf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,34 +9,13 @@ on: jobs: test: runs-on: ubuntu-latest - - services: - postgres: - image: postgres:14 - ports: - - 5432:5432 - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - POSTGRES_DB: gleam_packages_test - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - - env: - PGHOST: localhost - PGPORT: 5432 - PGUSER: postgres - PGPASSWORD: postgres - + steps: - uses: actions/checkout@v3 - - uses: erlef/setup-beam@v1 + - uses: erlef/setup-beam@v1.18.2 with: - otp-version: "26.0.2" - gleam-version: "1.0.0" + otp-version: "OTP-27.0.1" + gleam-version: "1.5.0" rebar3-version: "3" - run: gleam format --check src test - run: gleam test