Skip to content

Commit 667ab22

Browse files
committed
update release
1 parent 792e691 commit 667ab22

2 files changed

Lines changed: 19 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,28 @@ jobs:
1414
publish_to_hex:
1515
name: Publish to Hex.pm
1616
runs-on: ubuntu-latest
17-
container: hexpm/elixir:1.11.2-erlang-22.3.4.3-alpine-3.11.6
17+
container: hexpm/elixir:1.18.4-erlang-27.3.4.1-alpine-3.22.0
1818
env:
19-
VERSION_ALPINE: 3.11.6
20-
VERSION_ELIXIR: 1.11.2
21-
VERSION_OTP: 22.3.4.3
19+
VERSION_ALPINE: 3.22.0
20+
VERSION_ELIXIR: 1.18.4
21+
VERSION_OTP: 27.3.4.1
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424

2525
- name: Write the release version to the version file
2626
run: |
2727
echo "Create version file for $GITHUB_REF"
2828
echo -n "${GITHUB_REF#refs/tags/v}" > version
2929
3030
- name: Cache - deps/
31-
uses: actions/cache@v1
31+
uses: actions/cache@v4
3232
with:
33-
path: deps/
34-
key: ${{ env.CACHE_PREFIX_DEPS }}-env:${{ env.MIX_ENV }}-alpine:${{ env.VERSION_ALPINE }}-elixir:${{ env.VERSION_ELIXIR }}-otp:${{ env.VERSION_OTP }}-${{ hashFiles('**/mix.lock') }}
35-
restore-keys: ${{ env.CACHE_PREFIX_DEPS }}-env:${{ env.MIX_ENV }}-alpine:${{ env.VERSION_ALPINE }}-elixir:${{ env.VERSION_ELIXIR }}-otp:${{ env.VERSION_OTP }}-
33+
path: |
34+
deps
35+
key: elixir-deps-${{ runner.os }}-${{ hashFiles('mix.lock') }}-${{ hashFiles('.tool-versions') }}-${{ hashFiles('lib/**/*.ex', 'lib/**/*.*ex', 'config/*.exs', 'mix.exs') }}
36+
restore-keys: |
37+
elixir-deps-${{ runner.os }}-${{ hashFiles('mix.lock') }}-
38+
elixir-deps-${{ runner.os }}
3639
3740
- name: Install Dependencies
3841
run: |
@@ -41,7 +44,7 @@ jobs:
4144
mix deps.get --only "$MIX_ENV"
4245
4346
- name: Cache - _build/
44-
uses: actions/cache@v1
47+
uses: actions/cache@v4
4548
with:
4649
path: _build/
4750
key: ${{ env.CACHE_PREFIX_BUILD }}-env:${{ env.MIX_ENV }}-alpine:${{ env.VERSION_ALPINE }}-elixir:${{ env.VERSION_ELIXIR }}-otp:${{ env.VERSION_OTP }}-${{ hashFiles('**/mix.lock') }}

mix.exs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Knigge.MixProject do
22
use Mix.Project
33

4-
@repo "https://github.com/alexocode/knigge"
4+
@repo "https://github.com/fschoenfeldt/knigge"
55

66
def project do
77
[
@@ -39,6 +39,7 @@ defmodule Knigge.MixProject do
3939
"coveralls.detail": :test,
4040
"coveralls.post": :test,
4141
"coveralls.html": :test,
42+
"coveralls.github": :test,
4243
check: :test,
4344
credo: :test,
4445
dialyzer: :test,
@@ -130,7 +131,10 @@ defmodule Knigge.MixProject do
130131
links: %{
131132
"GitHub" => @repo
132133
},
133-
maintainers: ["Alex Wolf <craft@alexocode.dev>"]
134+
maintainers: [
135+
"Alex Wolf <craft@alexocode.dev>",
136+
"Frederik Schönfeldt <frederikschoenfeldt@gmail.com>"
137+
]
134138
]
135139
end
136140

0 commit comments

Comments
 (0)