Start utilizing cue tooling.

This commit is contained in:
Jesper Louis Andersen 2021-06-15 14:32:40 +02:00
parent 73a6462ef3
commit 3a4d000c56
2 changed files with 7 additions and 9 deletions

View File

@ -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" name: "build"
on: { on: {
push: branches: [ push: branches: [
@ -12,7 +17,7 @@ jobs: ci: {
"runs-on": "${{matrix.os}}" "runs-on": "${{matrix.os}}"
container: image: "erlang:${{matrix.otp_vsn}}" container: image: "erlang:${{matrix.otp_vsn}}"
strategy: matrix: { 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"] os: ["ubuntu-latest"]
} }
steps: [ steps: [

View File

@ -14,14 +14,7 @@ jobs:
image: erlang:${{matrix.otp_vsn}} image: erlang:${{matrix.otp_vsn}}
strategy: strategy:
matrix: matrix:
otp_vsn: otp_vsn: 24.0
- 18.3
- 19.3
- 20.3
- 21.3
- 22.3
- 23.3
- 24.0
os: os:
- ubuntu-latest - ubuntu-latest
steps: steps: