Skip to content

Commit 38b35e4

Browse files
committed
Update CI
1 parent e920065 commit 38b35e4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Elixir CI
22

33
on:
44
push:
5-
branches: [ "master" ] # adapt branch for project
5+
branches: [ "main" ]
66
pull_request:
7-
branches: [ "master" ] # adapt branch for project
7+
branches: [ "main" ]
88

99
# Sets the ENV `MIX_ENV` to `test` for running tests
1010
env:
@@ -21,8 +21,8 @@ jobs:
2121
# Specify the OTP and Elixir versions to use when building
2222
# and running the workflow steps.
2323
matrix:
24-
otp: ['27.0'] # Define the OTP version [required]
25-
elixir: ['1.17.1'] # Define the elixir version [required]
24+
otp: ['28.0'] # Define the OTP version [required]
25+
elixir: ['1.19.5'] # Define the elixir version [required]
2626
steps:
2727
# Step: Setup Elixir + Erlang image as the base.
2828
- name: Set up Elixir
@@ -33,12 +33,12 @@ jobs:
3333

3434
# Step: Check out the code.
3535
- name: Checkout code
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737

3838
# Step: Define how to cache deps. Restores existing cache if present.
3939
- name: Cache deps
4040
id: cache-deps
41-
uses: actions/cache@v3
41+
uses: actions/cache@v4
4242
env:
4343
cache-name: cache-elixir-deps
4444
with:
@@ -52,7 +52,7 @@ jobs:
5252
# project's downloaded deps every run.
5353
- name: Cache compiled build
5454
id: cache-build
55-
uses: actions/cache@v3
55+
uses: actions/cache@v4
5656
env:
5757
cache-name: cache-compiled-build
5858
with:

0 commit comments

Comments
 (0)