Skip to content

Commit

Permalink
fix: Execution Failure (#12)
Browse files Browse the repository at this point in the history
* Fix git error introduced in git 2.35.2

* Update reviewdog version

* Update elixir and erlang OTP version
  • Loading branch information
k-asm authored Jun 3, 2024
1 parent 1d68a8b commit 44aede1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: 24.0
elixir-version: 1.12
otp-version: 26.2.5
elixir-version: 1.16-otp-26
- name: Install Dependencies
run: |
mix local.rebar --force
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM elixir:1.12-alpine
FROM elixir:1.16-alpine

RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ v0.13.0
RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ v0.17.4
RUN apk --update add git && \
rm -rf /var/lib/apt/lists/* && \
rm /var/cache/apk/*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
name: runner / credo
runs-on: ubuntu-latest
container:
image: elixir:1.12-slim
image: elixir:1.16-slim
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
Expand Down
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

cd "$GITHUB_WORKSPACE"

git config --global --add safe.directory $GITHUB_WORKSPACE || exit 1

export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

mix credo suggest --strict --format=flycheck \
Expand Down

0 comments on commit 44aede1

Please # to comment.