Skip to content

Commit f45e71a

Browse files
committed
fix ci
1 parent 3264429 commit f45e71a

3 files changed

Lines changed: 41 additions & 42 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
name: Build and test
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
include:
17+
- elixir: "1.19"
18+
otp: "28"
19+
- elixir: "1.18.2"
20+
otp: "27.2"
21+
- elixir: "1.18"
22+
otp: "27"
23+
24+
steps:
25+
- uses: actions/checkout@v6
26+
- uses: erlef/setup-beam@v1.23
27+
with:
28+
otp-version: ${{matrix.otp}}
29+
elixir-version: ${{matrix.elixir}}
30+
31+
- name: Restore dependencies cache
32+
uses: actions/cache@v5
33+
with:
34+
path: deps
35+
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
36+
restore-keys: ${{ runner.os }}-mix-
37+
38+
- run: mix deps.get
39+
- run: mix test

.github/workflows/ci.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,12 @@ base |> Delta.compose(change) |> Delta.compose(inverted) == base
219219

220220
<br>
221221

222-
[badge-github]: https://github.com/slab/delta-elixir/actions/workflows/ci.yml/badge.svg
222+
[badge-github]: https://github.com/slab/delta-elixir/actions/workflows/ci.yaml/badge.svg
223223
[badge-version]: https://img.shields.io/hexpm/v/delta.svg
224224
[badge-license]: https://img.shields.io/hexpm/l/delta.svg
225225
[badge-downloads]: https://img.shields.io/hexpm/dt/delta.svg
226226
[hexpm]: https://hex.pm/packages/delta
227-
[github-build]: https://github.com/slab/delta-elixir/actions/workflows/ci.yml
227+
[github-build]: https://github.com/slab/delta-elixir/actions/workflows/ci.yaml
228228
[github-license]: https://github.com/slab/delta-elixir/blob/master/LICENSE
229229
[github-fork]: https://github.com/slab/delta-elixir/fork
230230
[docs]: https://hexdocs.pm/delta

0 commit comments

Comments
 (0)