Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ permissions: # added using https://github.com/step-security/secure-workflows
jobs:
publish:
name: Publish Release to HEX PM
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['23.3']
elixir: ['1.13']
otp: ['27.2']
elixir: ['1.17']
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
steps:
Expand All @@ -35,7 +35,7 @@ jobs:
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
- uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ permissions:
jobs:
tests:
name: Run tests
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['23.3']
elixir: ['1.11', '1.12']
include:
- otp: '26.2'
elixir: '1.16'
- otp: '27.2'
elixir: '1.17'
env:
MIX_ENV: test
steps:
Expand Down Expand Up @@ -48,7 +51,7 @@ jobs:
echo "::set-output name=mix_hash::$mix_hash"

- name: Cache dependecies
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-mix-${{ steps.set_vars.outputs.mix_hash }}
Expand All @@ -57,7 +60,7 @@ jobs:

- name: Cache PLT files
id: plt-cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache@v4
with:
path: |
_build
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ defmodule StellarBase.MixProject do
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.18.1", only: :test, runtime: false},
{:castore, "~> 1.0"},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
Expand Down
Loading