Skip to content

Commit 154d8c0

Browse files
chore: sync files with beam-community/common-config
1 parent 48abf84 commit 154d8c0

File tree

9 files changed

+41
-11
lines changed

9 files changed

+41
-11
lines changed

.formatter.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is synced with beam-community/common-config. Any changes will be overwritten.
22

33
[
4-
import_deps: [],
4+
import_deps: [:phoenix, :plug],
55
inputs: ["*.{heex,ex,exs}", "{config,lib,priv,test}/**/*.{heex,ex,exs}"],
66
line_length: 120,
77
plugins: []

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
env:
9292
MIX_ENV: test
9393

94+
9495
steps:
9596
- name: Checkout
9697
uses: actions/checkout@v4
@@ -112,10 +113,10 @@ jobs:
112113
fail-fast: false
113114
matrix:
114115
versions:
115-
- elixir: 1.15
116-
otp: 26
117116
- elixir: 1.16
118117
otp: 26
119118
- elixir: 1.17
120119
otp: 27
120+
- elixir: 1.18
121+
otp: 27
121122

.github/workflows/common-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: stordco/actions-elixir/setup@v1
3939
with:
4040
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
41-
elixir-version: "1.15"
41+
elixir-version: "1.16"
4242
otp-version: "26.0"
4343

4444
- name: Sync
@@ -50,5 +50,5 @@ jobs:
5050
pr-title: "chore: sync files with beam-community/common-config"
5151
pr-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
5252
sync-auth: doomspork:${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
53-
sync-branch: latest
53+
sync-tree: latest
5454
sync-repository: github.com/beam-community/common-config.git

.github/workflows/pr.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313

1414
jobs:
1515
Title:
16+
permissions:
17+
pull-requests: read
18+
1619
if: ${{ github.event_name == 'pull_request' }}
1720
name: Check Title
1821
runs-on: ubuntu-latest

.github/workflows/production.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ jobs:
3232
run: mix hex.publish --yes
3333
env:
3434
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
35-

.github/workflows/publish-docs.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This file is synced with beam-community/common-config. Any changes will be overwritten.
2+
3+
name: Publish Docs
4+
5+
on:
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: hex-publish-docs
10+
cancel-in-progress: true
11+
12+
jobs:
13+
Hex:
14+
runs-on: ubuntu-latest
15+
if: github.ref == 'refs/heads/main'
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Elixir
21+
uses: stordco/actions-elixir/setup@v1
22+
with:
23+
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
24+
25+
- name: Publish Docs
26+
run: mix hex.publish docs --yes
27+
env:
28+
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}

.github/workflows/release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ jobs:
1414
steps:
1515
- id: release
1616
name: Release
17-
uses: google-github-actions/release-please-action@v4
17+
uses: googleapis/release-please-action@v4
1818
with:
19-
command: manifest
2019
config-file: .github/release-please-config.json
2120
manifest-file: .github/release-please-manifest.json
2221
release-type: elixir

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
elixir 1.16
2-
erlang 26.0
1+
elixir 1.18
2+
erlang 27.2

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright (c) 2024 BEAM Community
3+
Copyright (c) 2025 BEAM Community
44

55
Permission is hereby granted, free of charge, to any person obtaining
66
a copy of this software and associated documentation files (the

0 commit comments

Comments
 (0)