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
28 changes: 26 additions & 2 deletions .github/workflows/part_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,35 @@ permissions:
contents: read

jobs:
detectToolVersions:
name: "Detect Tool Versions"

runs-on: ubuntu-latest

outputs:
zigVersion: "${{ steps.toolVersions.outputs.ZIG_VERSION }}"

steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: "Read .tool-versions"
id: toolVersions
run: |
ZIG_VERSION="$(cat .tool-versions | grep zig | cut -d' ' -f2-)"
echo Zig: $ZIG_VERSION
echo "ZIG_VERSION=${ZIG_VERSION}" >> $GITHUB_OUTPUT

binary:
name: "Binary"

runs-on: ubuntu-latest

needs: ['detectToolVersions']

permissions:
id-token: write
contents: read
Expand All @@ -31,9 +55,9 @@ jobs:
with:
egress-policy: audit

- uses: mlugg/setup-zig@8d6198c65fb0feaa111df26e6b467fea8345e46f # latest main
- uses: mlugg/setup-zig@8d6198c65fb0feaa111df26e6b467fea8345e46f # v2.0.5
with:
version: 0.14.0
version: "${{ needs.detectToolVersions.outputs.zigVersion }}"

- run: sudo apt-get install -y xz-utils

Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%{
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
"burrito": {:hex, :burrito, "1.3.0", "4be8504185250756ff4a8770d0c0d91dbfe518d2faa5f1888f13b00540028c59", [:mix], [{:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:req, ">= 0.5.0", [hex: :req, repo: "hexpm", optional: false]}, {:typed_struct, "~> 0.2.0 or ~> 0.3.0", [hex: :typed_struct, repo: "hexpm", optional: false]}], "hexpm", "a53f6bc0644bfd998164d68714c9af04291c220f5f7d0c90cb9616780cc60165"},
"burrito": {:hex, :burrito, "1.4.0", "f94fa1c3f174575bc4cad887a2940fd77469e1985c3a6633fcdcfa72f915caf2", [:mix], [{:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:req, ">= 0.5.0", [hex: :req, repo: "hexpm", optional: false]}, {:typed_struct, "~> 0.2.0 or ~> 0.3.0", [hex: :typed_struct, repo: "hexpm", optional: false]}], "hexpm", "0fa052e6f446cd3e5ff7e00813452b09eeadeddb5ec5174c2976eb0e4ad88765"},
"credo": {:hex, :credo, "1.7.12", "9e3c20463de4b5f3f23721527fcaf16722ec815e70ff6c60b86412c695d426c1", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8493d45c656c5427d9c729235b99d498bd133421f3e0a683e5c1b561471291e5"},
"dialyxir": {:hex, :dialyxir, "1.4.5", "ca1571ac18e0f88d4ab245f0b60fa31ff1b12cbae2b11bd25d207f865e8ae78a", [:mix], [{:erlex, ">= 0.2.7", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "b0fb08bb8107c750db5c0b324fa2df5ceaa0f9307690ee3c1f6ba5b9eb5d35c3"},
"doctest_formatter": {:hex, :doctest_formatter, "0.4.0", "c40ee323a32888dccdb3f51192e7f56e1e9b2c60c70e92ea721b66e2effa777f", [:mix], [], "hexpm", "25af93001d8fc553909063cedbf7e94a18a7bd7ae3d8a26a6951946f1e4911b2"},
Expand Down
Loading