-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: sync files with beam-community/common-config
- Loading branch information
1 parent
aaba741
commit 349952f
Showing
12 changed files
with
405 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Used by "mix format" | ||
# This file is synced with beam-community/common-config. Any changes will be overwritten. | ||
|
||
[ | ||
inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"], | ||
import_deps: [:typed_struct, :stream_data], | ||
line_length: 120 | ||
import_deps: [:stream_data, :typed_struct], | ||
inputs: ["*.{heex,ex,exs}", "{config,lib,priv,test}/**/*.{heex,ex,exs}"], | ||
line_length: 120, | ||
plugins: [] | ||
] |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
# Order alphabetically. | ||
# Order is important. The last matching pattern takes the most precedence. | ||
|
||
# Default owners for everything in the repo. | ||
* @beam-community/team @beam-community/avro | ||
* @beam-community/team |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
commit-message: | ||
prefix: "chore(deps)" | ||
|
||
- package-ecosystem: mix | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
commit-message: | ||
prefix: "chore(deps)" | ||
groups: | ||
prod: | ||
dependency-type: production | ||
dev: | ||
dependency-type: development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"$comment": "This file is synced with beam-community/common-config. Any changes will be overwritten.", | ||
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", | ||
"changelog-sections": [ | ||
{ | ||
"type": "feat", | ||
"section": "Features", | ||
"hidden": false | ||
}, | ||
{ | ||
"type": "fix", | ||
"section": "Bug Fixes", | ||
"hidden": false | ||
}, | ||
{ | ||
"type": "refactor", | ||
"section": "Miscellaneous", | ||
"hidden": false | ||
} | ||
], | ||
"draft": false, | ||
"draft-pull-request": false, | ||
"packages": { | ||
".": { | ||
"extra-files": [ | ||
"README.md" | ||
], | ||
"release-type": "elixir" | ||
} | ||
}, | ||
"plugins": [ | ||
{ | ||
"type": "sentence-case" | ||
} | ||
], | ||
"prerelease": false, | ||
"pull-request-header": "An automated release has been created for you.", | ||
"separate-pull-requests": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
# This file is synced with beam-community/common-config. Any changes will be overwritten. | ||
|
||
name: CI | ||
|
||
on: | ||
merge_group: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
push: | ||
branches: | ||
- main | ||
workflow_call: | ||
secrets: | ||
GH_PERSONAL_ACCESS_TOKEN: | ||
required: true | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: CI ${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
Credo: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Elixir | ||
uses: stordco/actions-elixir/setup@v1 | ||
with: | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
|
||
- name: Credo | ||
run: mix credo --strict | ||
|
||
Dependencies: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Elixir | ||
uses: stordco/actions-elixir/setup@v1 | ||
with: | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
|
||
- name: Unused | ||
run: mix deps.unlock --check-unused | ||
|
||
Dialyzer: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Elixir | ||
uses: stordco/actions-elixir/setup@v1 | ||
with: | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
|
||
- name: Dialyzer | ||
run: mix dialyzer --format github | ||
|
||
Format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Elixir | ||
uses: stordco/actions-elixir/setup@v1 | ||
with: | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
|
||
- name: Format | ||
run: mix format --check-formatted | ||
|
||
Test: | ||
name: Test (Elixir ${{ matrix.versions.elixir }} OTP ${{ matrix.versions.otp }}) | ||
|
||
runs-on: ubuntu-latest | ||
|
||
env: | ||
MIX_ENV: test | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Elixir | ||
uses: stordco/actions-elixir/setup@v1 | ||
with: | ||
elixir-version: ${{ matrix.versions.elixir }} | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
otp-version: ${{ matrix.versions.otp }} | ||
|
||
- name: Compile | ||
run: mix compile --warnings-as-errors | ||
|
||
- name: Test | ||
run: mix test | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
versions: | ||
- elixir: 1.15 | ||
otp: 26 | ||
- elixir: 1.16 | ||
otp: 26 | ||
- elixir: 1.17 | ||
otp: 27 | ||
|
Oops, something went wrong.