Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/publish-hex/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM elixir:1.12-alpine
FROM elixir:1.12-alpine@sha256:56f5042370b38a38ddc989dcd83f83835d8b8f83bf2ed40e8bacc972aa71ef6e

COPY . .

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ name: Publish to Hex
on:
push:
tags:
- "*"
- "v*"

permissions:
contents: read # Check out the repository; publishing to hex.pm uses HEX_API_KEY

jobs:
publish:
runs-on: ubuntu-latest
environment: hex
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
Resolved
steps:
- name: Check out
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: Publish package to hex.pm
uses: ./.github/actions/publish-hex
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
sdk-spec:
# Keep the ref in `uses:` and `spec-ref` in sync.
uses: Flagsmith/sdk-spec/.github/workflows/run-spec.yml@v0.10.0
uses: Flagsmith/sdk-spec/.github/workflows/run-spec.yml@942568f18f0b0178c61975c6d6e3b73ec7bf9864 # v0.10.0
Comment thread
khvn26 marked this conversation as resolved.
Resolved
with:
spec-ref: v0.10.0
language: elixir
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_format_dialyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
submodules: 'true'

- name: Set up Elixir
uses: erlef/setup-beam@v1
uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1
with:
version-file: ${{ matrix.version-file }}
elixir-version: ${{ matrix.elixir }}
Expand All @@ -52,7 +52,7 @@ jobs:
shell: bash

- name: Restore dependencies cache
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: deps
key: ${{ runner.os }}-${{ matrix.name }}-deps-${{ env.MIX_LOCK_HASH }}
Expand All @@ -62,7 +62,7 @@ jobs:
run: mix deps.get

- name: Restore build artifacts
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: _build
key: ${{ runner.os }}-${{ matrix.name }}-build-${{ env.MIX_LOCK_HASH }}
Expand All @@ -80,7 +80,7 @@ jobs:

- name: Restore dialyzer PLTS
if: matrix.lint
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: priv/plts
key: ${{ runner.os }}-${{ matrix.name }}-plts-${{ env.MIX_LOCK_HASH }}
Expand Down
Loading