Skip to content

Commit 56ac7a0

Browse files
committed
CI: Minor improvements/fixes
- Put together name and runs-on to avoid getting outdated on update - Fix name for Windows job with correct version - Sort Erlang/OTP versions descendingly so they align with order under Linux
1 parent 31ec8cc commit 56ac7a0

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ permissions:
2323
jobs:
2424
test_linux:
2525
name: Ubuntu 24.04, Erlang/OTP ${{ matrix.otp_version }}${{ matrix.deterministic && ' (deterministic)' || '' }}${{ matrix.coverage && ' (coverage)' || '' }}
26+
runs-on: ubuntu-24.04
27+
2628
strategy:
2729
fail-fast: false
2830
matrix:
@@ -44,7 +46,7 @@ jobs:
4446
development: true
4547
- otp_version: maint
4648
development: true
47-
runs-on: ubuntu-24.04
49+
4850
# Earlier Erlang/OTP versions ignored compiler directives
4951
# when using warnings_as_errors. So we only set ERLC_OPTS
5052
# from Erlang/OTP 27+.
@@ -104,11 +106,16 @@ jobs:
104106
path: cover/*
105107

106108
test_windows:
107-
name: Windows Server 2019, Erlang/OTP ${{ matrix.otp_version }}
109+
name: Windows Server 2022, Erlang/OTP ${{ matrix.otp_version }}
110+
runs-on: windows-2022
111+
108112
strategy:
109113
matrix:
110-
otp_version: ["26.2", "27.3", "28.1"]
111-
runs-on: windows-2022
114+
otp_version:
115+
- "28.1"
116+
- "27.3"
117+
- "26.2"
118+
112119
steps:
113120
- name: Configure Git
114121
run: git config --global core.autocrlf input

0 commit comments

Comments
 (0)