update github ci
This commit is contained in:
parent
2a45b071c1
commit
8b28c57a74
1 changed files with 68 additions and 68 deletions
12
.github/workflows/elixir.yaml
vendored
12
.github/workflows/elixir.yaml
vendored
|
|
@ -6,9 +6,9 @@ name: Elixir CI
|
||||||
# different name for the main branch like "master" or "production".
|
# different name for the main branch like "master" or "production".
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ] # adapt branch for project
|
branches: ["main"] # adapt branch for project
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ] # adapt branch for project
|
branches: ["main"] # adapt branch for project
|
||||||
|
|
||||||
# Sets the ENV `MIX_ENV` to `test` for running tests
|
# Sets the ENV `MIX_ENV` to `test` for running tests
|
||||||
env:
|
env:
|
||||||
|
|
@ -24,8 +24,8 @@ jobs:
|
||||||
# Additional services can be defined here if required.
|
# Additional services can be defined here if required.
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres:12
|
image: postgres:15
|
||||||
ports: ['5432:5432']
|
ports: ["5432:5432"]
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
options: >-
|
options: >-
|
||||||
|
|
@ -40,8 +40,8 @@ jobs:
|
||||||
# Specify the OTP and Elixir versions to use when building
|
# Specify the OTP and Elixir versions to use when building
|
||||||
# and running the workflow steps.
|
# and running the workflow steps.
|
||||||
matrix:
|
matrix:
|
||||||
otp: ['25.2']
|
otp: ["26.2"]
|
||||||
elixir: ['1.14.3']
|
elixir: ["1.15.7"]
|
||||||
steps:
|
steps:
|
||||||
# Step: Setup Elixir + Erlang image as the base.
|
# Step: Setup Elixir + Erlang image as the base.
|
||||||
- name: Set up Elixir
|
- name: Set up Elixir
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue