From c39acf80d49f68e192254c93fefe01dcb4a1b3ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Jul 2025 13:46:07 +0000 Subject: [PATCH 1/2] Bump burrito from 1.3.0 to 1.4.0 Bumps [burrito](https://github.com/burrito-elixir/burrito) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/burrito-elixir/burrito/releases) - [Changelog](https://github.com/burrito-elixir/burrito/blob/main/CHANGELOG.md) - [Commits](https://github.com/burrito-elixir/burrito/compare/v1.3.0...v1.4.0) --- updated-dependencies: - dependency-name: burrito dependency-version: 1.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- mix.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.lock b/mix.lock index e6fa160..a9e4763 100644 --- a/mix.lock +++ b/mix.lock @@ -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"}, From 44568a269e025e88f74663068a1ed2efe6b2f54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20M=C3=A4nnchen?= Date: Tue, 29 Jul 2025 15:58:37 +0200 Subject: [PATCH 2/2] Use ASDF Zig Version in CI --- .github/workflows/part_build.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/part_build.yml b/.github/workflows/part_build.yml index 5ed4ac8..b934623 100644 --- a/.github/workflows/part_build.yml +++ b/.github/workflows/part_build.yml @@ -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 @@ -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