From 3a4d000c56f842db3b17c320a28d372c760630c9 Mon Sep 17 00:00:00 2001 From: Jesper Louis Andersen Date: Tue, 15 Jun 2021 14:32:40 +0200 Subject: [PATCH] Start utilizing cue tooling. --- .github/workflows/ci.cue | 7 ++++++- .github/workflows/ci.yaml | 9 +-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.cue b/.github/workflows/ci.cue index 8fd8532..74d193c 100644 --- a/.github/workflows/ci.cue +++ b/.github/workflows/ci.cue @@ -1,3 +1,8 @@ +let OTP_Versions = { + latest: 24.0 + all: [18.3, 19.3, 20.3, 21.3, 22.3, 23.3, 24.0] +} + name: "build" on: { push: branches: [ @@ -12,7 +17,7 @@ jobs: ci: { "runs-on": "${{matrix.os}}" container: image: "erlang:${{matrix.otp_vsn}}" strategy: matrix: { - otp_vsn: [18.3, 19.3, 20.3, 21.3, 22.3, 23.3, 24.0] + otp_vsn: OTP_Versions.latest os: ["ubuntu-latest"] } steps: [ diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5058d4e..0c592de 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,14 +14,7 @@ jobs: image: erlang:${{matrix.otp_vsn}} strategy: matrix: - otp_vsn: - - 18.3 - - 19.3 - - 20.3 - - 21.3 - - 22.3 - - 23.3 - - 24.0 + otp_vsn: 24.0 os: - ubuntu-latest steps: