diff --git a/.formatter.exs b/.formatter.exs index e287cecf..7b5c3873 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -1,7 +1,7 @@ # This file is synced with beam-community/common-config. Any changes will be overwritten. [ - import_deps: [], + import_deps: [:phoenix, :plug], inputs: ["*.{heex,ex,exs}", "{config,lib,priv,test}/**/*.{heex,ex,exs}"], line_length: 120, plugins: [] diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index abfed544..0955cd80 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -112,10 +112,10 @@ jobs: fail-fast: false matrix: versions: - - elixir: 1.15 - otp: 26 - elixir: 1.16 otp: 26 - elixir: 1.17 otp: 27 + - elixir: 1.18 + otp: 27 diff --git a/.github/workflows/common-config.yaml b/.github/workflows/common-config.yaml index fa20cb90..05a2686c 100644 --- a/.github/workflows/common-config.yaml +++ b/.github/workflows/common-config.yaml @@ -38,7 +38,7 @@ jobs: uses: stordco/actions-elixir/setup@v1 with: github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - elixir-version: "1.15" + elixir-version: "1.16" otp-version: "26.0" - name: Sync @@ -50,5 +50,5 @@ jobs: 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-tree: latest sync-repository: github.com/beam-community/common-config.git diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index a176a040..1b07ab71 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,6 +13,9 @@ on: jobs: Title: + permissions: + pull-requests: read + if: ${{ github.event_name == 'pull_request' }} name: Check Title runs-on: ubuntu-latest diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 6304a1e3..0bec3a4f 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -32,4 +32,3 @@ jobs: run: mix hex.publish --yes env: HEX_API_KEY: ${{ secrets.HEX_API_KEY }} - diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml new file mode 100644 index 00000000..b107b08c --- /dev/null +++ b/.github/workflows/publish-docs.yaml @@ -0,0 +1,28 @@ +# This file is synced with beam-community/common-config. Any changes will be overwritten. + +name: Publish Docs + +on: + workflow_dispatch: + +concurrency: + group: hex-publish-docs + cancel-in-progress: true + +jobs: + Hex: + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' + 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: Publish Docs + run: mix hex.publish docs --yes + env: + HEX_API_KEY: ${{ secrets.HEX_API_KEY }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 674f5c2c..335c8a96 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,9 +14,8 @@ jobs: steps: - id: release name: Release - uses: google-github-actions/release-please-action@v4 + uses: googleapis/release-please-action@v4 with: - command: manifest config-file: .github/release-please-config.json manifest-file: .github/release-please-manifest.json release-type: elixir diff --git a/.tool-versions b/.tool-versions index fe29d910..fe6dc8be 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -elixir 1.16 -erlang 26.0 +elixir 1.18 +erlang 27.2 diff --git a/LICENSE b/LICENSE index 063f6cb9..42cc9e36 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2024 BEAM Community +Copyright (c) 2025 BEAM Community Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the