Skip to content

Commit 24a4d69

Browse files
chore: sync files with beam-community/common-config
1 parent f428792 commit 24a4d69

File tree

8 files changed

+38
-9
lines changed

8 files changed

+38
-9
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ jobs:
112112
fail-fast: false
113113
matrix:
114114
versions:
115-
- elixir: 1.15
116-
otp: 26
117115
- elixir: 1.16
118116
otp: 26
119117
- elixir: 1.17
120118
otp: 27
119+
- elixir: 1.18
120+
otp: 27
121121

.github/workflows/common-config.yaml

Lines changed: 1 addition & 1 deletion
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

.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

0 commit comments

Comments
 (0)