Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dependencies & CI #78

Merged
merged 6 commits into from
Jul 14, 2024
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
26 changes: 14 additions & 12 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,41 @@ jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
container: ${{ matrix.elixir }}
concurrency: production
strategy:
matrix:
elixir: ["elixir:latest"]

steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
version-type: strict
version-file: .tool-versions
- run: elixir --version
- run: mix local.hex --force
- run: mix local.rebar --force

- name: Hex Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
save-always: true
path: deps
key: ${{ runner.os }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
${{ runner.os }}-${{ matrix.elixir }}-mix-
${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
${{ runner.os }}-mix-
${{ runner.os }}-

- name: Install dependencies
run: mix deps.get

- name: Compilation Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
save-always: true
path: _build
key: ${{ runner.os }}-${{ matrix.elixir }}-compiled-${{ hashfiles('./mix.lock') }}
key: ${{ runner.os }}-compiled-${{ hashfiles('./mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.elixir }}-compiled-${{ hashfiles('./mix.lock') }}
${{ runner.os }}-${{ matrix.elixir }}-compiled-
${{ runner.os }}-compiled-${{ hashfiles('./mix.lock') }}
${{ runner.os }}-compiled-
${{ runner.os }}-

- name: Compile
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
erlang 27.0
elixir 1.17.1-otp-27
erlang 27.0.1
elixir 1.17.2-otp-27
11 changes: 6 additions & 5 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule WebauthnComponents.MixProject do
# Don't forget to change the version in `package.json`
@name "WebauthnComponents"
@source_url "https://github.com/liveshowy/webauthn_components"
@version "0.7.2"
@version "0.7.3"

def project do
[
Expand Down Expand Up @@ -40,13 +40,14 @@ defmodule WebauthnComponents.MixProject do
{:ecto_ulid, "~> 0.3"},
{:ecto, "~> 3.10"},
{:ex_doc, "~> 0.34", only: [:dev], runtime: false},
{:floki, "~> 0.34.2", only: [:test]},
{:floki, "~> 0.36", only: [:test]},
{:jason, "~> 1.0"},
{:live_isolated_component, "~> 0.6.4", only: [:test]},
{:live_isolated_component, "~> 0.8", only: [:test]},
{:phoenix_ecto, "~> 4.4"},
{:phoenix_live_view, "~> 0.17"},
# TODO bump on release to {:phoenix_live_view, "~> 1.0.0"},
{:phoenix_live_view, "~> 0.20"},
{:phoenix, "~> 1.6"},
{:sourceror, "~> 0.13"},
{:sourceror, "~> 1.4"},
{:uuid, "~> 1.1"},
{:wax_, "~> 0.6.1"}
]
Expand Down
Loading
Loading