Skip to content

Commit d8cb107

Browse files
authored
Merge pull request #540 from kianmeng/ci-housekeeping
CI housekeeping
2 parents a733acf + 54e1376 commit d8cb107

File tree

2 files changed

+48
-20
lines changed

2 files changed

+48
-20
lines changed

.github/workflows/test.yml

Lines changed: 47 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,58 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
elixir:
37-
- '1.12.3'
38-
- '1.13.4'
39-
- '1.14.3'
40-
- '1.15.7'
37+
- 1.12.3
38+
- 1.13.4
39+
- 1.14.3
40+
- 1.15.7
41+
- 1.16.3
42+
- 1.17.2
4143
otp:
42-
- '23.3'
43-
- '24.3'
44-
- '25.3'
45-
- '26.1'
44+
- 23.3
45+
- 24.3
46+
- 25.3
47+
- 26.1
48+
- 27.0
4649

4750
exclude:
48-
- elixir: '1.12.3'
49-
otp: '25.3'
51+
- elixir: 1.12.3
52+
otp: 25.3
5053

51-
- elixir: '1.12.3'
52-
otp: '26.1'
54+
- elixir: 1.12.3
55+
otp: 26.1
5356

54-
- elixir: '1.13.4'
55-
otp: '26.1'
57+
- elixir: 1.12.3
58+
otp: 27.0
5659

57-
- elixir: '1.14.3'
58-
otp: '26.1'
60+
- elixir: 1.13.4
61+
otp: 26.1
5962

60-
- elixir: '1.15.7'
61-
otp: '23.3'
63+
- elixir: 1.13.4
64+
otp: 27.0
65+
66+
- elixir: 1.14.3
67+
otp: 26.1
68+
69+
- elixir: 1.14.3
70+
otp: 27.0
71+
72+
- elixir: 1.15.7
73+
otp: 23.3
74+
75+
- elixir: 1.15.7
76+
otp: 27.0
77+
78+
- elixir: 1.16.3
79+
otp: 23.3
80+
81+
- elixir: 1.16.3
82+
otp: 27.0
83+
84+
- elixir: 1.17.2
85+
otp: 23.3
86+
87+
- elixir: 1.17.2
88+
otp: 24.3
6289

6390
steps:
6491
- name: Checkout
@@ -71,7 +98,7 @@ jobs:
7198
otp-version: ${{ matrix.otp }}
7299

73100
- name: Restore deps cache
74-
uses: actions/cache@v3
101+
uses: actions/cache@v4
75102
with:
76103
path: |
77104
deps
@@ -101,7 +128,7 @@ jobs:
101128
MIX_ENV: prod
102129

103130
- name: Check source code formatting
104-
if: ${{ matrix.elixir > '1.15.0' }}
131+
if: ${{ matrix.elixir == '1.17.2' && matrix.otp == '27.0' }}
105132
run: mix format --check-formatted
106133

107134
- name: Get results in short format

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Dialyxir
22

3+
[![CI](https://github.com/jeremyjh/dialyxir/actions/workflows/test.yml/badge.svg)](https://github.com/jeremyjh/dialyxir/actions/workflows/test.yml)
34
[![Module Version](https://img.shields.io/hexpm/v/dialyxir.svg)](https://hex.pm/packages/dialyxir)
45
[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/dialyxir/)
56
[![Total Download](https://img.shields.io/hexpm/dt/dialyxir.svg)](https://hex.pm/packages/dialyxir)

0 commit comments

Comments
 (0)