diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc3160d..edf72e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,9 @@ name: CI on: [push, pull_request] +permissions: + contents: read + jobs: build: name: Build and test @@ -34,12 +37,12 @@ jobs: - elixir: 1.15.x otp: 24.x steps: - - uses: actions/checkout@v4 - - uses: erlef/setup-beam@v1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 # v1.24.0 with: elixir-version: ${{ matrix.elixir }} otp-version: ${{ matrix.otp }} - - run: mix deps.get + - run: mix deps.get --check-locked - run: mix deps.compile - run: mix compile --warnings-as-errors if: ${{ matrix.lint }} diff --git a/mix.exs b/mix.exs index d2a3e19..5f6ebd5 100644 --- a/mix.exs +++ b/mix.exs @@ -54,7 +54,7 @@ defmodule Params.Mixfile do defp deps do [ {:ecto, "~> 2.0 or ~> 3.0"}, - {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, + {:ex_doc, "~> 0.34", only: :dev, runtime: false}, {:dialyxir, "~> 0.5", only: :dev, runtime: false} ] end