Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Argonus committed Nov 30, 2023
1 parent dcefa6e commit 6b2c94c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
8 changes: 7 additions & 1 deletion .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
inputs: [
"{mix,.formatter}.exs",
"{config,test}/**/*.{ex,exs}",
"lib/kayrock/*.{ex,exs}",
"lib/mix/**/*.{ex,exs}",
"lib/kayrock.ex"
]
]
10 changes: 5 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Checks

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [pull_request]

jobs:
dependencies:
Expand Down Expand Up @@ -41,15 +37,18 @@ jobs:
path: |
deps
_build
priv/plts
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}

- name: Install Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mkdir -p priv/plts
mix local.rebar --force
mix local.hex --force
mix deps.get
mix deps.compile
mix dialyzer --plt
static_code_analysis:
name: Static Code Analysis
Expand Down Expand Up @@ -89,6 +88,7 @@ jobs:
path: |
deps
_build
priv/plts
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}

- name: Compile
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CI Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [pull_request]

jobs:
setup:
Expand Down

0 comments on commit 6b2c94c

Please sign in to comment.