Skip to content

Commit 4de4d85

Browse files
authored
codeowner (#2)
1 parent 715da5f commit 4de4d85

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# I am the solo maintainer. All community PRs require my review.
2+
* @ideamarcos

.github/workflows/test.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Test
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
main:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
include:
14+
- pair:
15+
elixir: 1.13.0
16+
otp: 24.0
17+
lint: true
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- uses: erlef/setup-beam@v1
22+
with:
23+
otp-version: ${{matrix.pair.otp}}
24+
elixir-version: ${{matrix.pair.elixir}}
25+
26+
- uses: actions/cache@v3
27+
with:
28+
path: |
29+
deps
30+
_build
31+
key: ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}
32+
restore-keys: |
33+
${{ runner.os }}-mix-
34+
35+
- run: mix deps.get
36+
37+
- run: mix format --check-formatted
38+
if: ${{ matrix.lint }}
39+
40+
- run: mix deps.unlock --check-unused
41+
if: ${{ matrix.lint }}
42+
43+
- run: mix deps.compile
44+
45+
- run: mix compile --warnings-as-errors
46+
if: ${{ matrix.lint }}

0 commit comments

Comments
 (0)