forked from beam-community/avro_ex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from salemove/fixed_uuid
Add UUID conversion to and from 16 byte fixed sequences
- Loading branch information
Showing
13 changed files
with
216 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,37 +5,37 @@ on: | |
types: [opened, reopened, synchronize] | ||
push: | ||
branches: | ||
- "master" | ||
- "main" | ||
jobs: | ||
test: | ||
name: Build and test | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Elixir | ||
uses: erlef/[email protected] | ||
with: | ||
elixir-version: '1.13.3' # Define the elixir version [required] | ||
otp-version: '24.2.1' # Define the OTP version [required] | ||
- name: Restore dependencies cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: deps | ||
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: ${{ runner.os }}-mix- | ||
- name: Install dependencies | ||
run: mix deps.get | ||
- name: Run tests | ||
run: mix test | ||
- name: Check formatting | ||
run: mix format --check-formatted | ||
- name: Credo | ||
run: mix credo | ||
- uses: actions/checkout@v2 | ||
- name: Set up Elixir | ||
uses: erlef/[email protected] | ||
with: | ||
elixir-version: "1.13.3" # Define the elixir version [required] | ||
otp-version: "24.2.1" # Define the OTP version [required] | ||
- name: Restore dependencies cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: deps | ||
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: ${{ runner.os }}-mix- | ||
- name: Install dependencies | ||
run: mix deps.get | ||
- name: Run tests | ||
run: mix test | ||
- name: Check formatting | ||
run: mix format --check-formatted | ||
- name: Credo | ||
run: mix credo | ||
|
||
dialyzer: | ||
name: Run Dialyzer for type checking | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set mix file hash | ||
|
@@ -56,7 +56,7 @@ jobs: | |
- name: Run Dialyzer | ||
uses: erlef/[email protected] | ||
with: | ||
elixir-version: '1.13.3' # Define the elixir version [required] | ||
otp-version: '24.2.1' # Define the OTP version [required] | ||
elixir-version: "1.13.3" # Define the elixir version [required] | ||
otp-version: "24.2.1" # Define the OTP version [required] | ||
- run: mix deps.get | ||
- run: mix dialyzer |
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,54 @@ | ||
# This file is synced with beam-community/common-config. Any changes will be overwritten. | ||
|
||
name: Common Config | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/common-config.yaml | ||
repository_dispatch: | ||
types: | ||
- common-config | ||
schedule: | ||
- cron: "8 12 8 * *" | ||
workflow_dispatch: {} | ||
|
||
concurrency: | ||
group: Common Config | ||
|
||
jobs: | ||
Sync: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
persist-credentials: true | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Setup Elixir | ||
uses: stordco/actions-elixir/setup@v1 | ||
with: | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
elixir-version: "1.15" | ||
otp-version: "26.0" | ||
|
||
- name: Sync | ||
uses: stordco/actions-sync@v1 | ||
with: | ||
commit-message: "chore: sync files with beam-community/common-config" | ||
pr-enabled: true | ||
pr-labels: common-config | ||
pr-title: "chore: sync files with beam-community/common-config" | ||
pr-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
sync-auth: doomspork:${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
sync-branch: latest | ||
sync-repository: github.com/beam-community/common-config.git |
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
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
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
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
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
Oops, something went wrong.