diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index fbb1a9e..be79e58 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -17,14 +17,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Install Stencil - shell: bash - run: | # install the stencil binary - wget https://github.com/rgst-io/stencil/releases/download/v0.9.0/stencil_0.9.0_linux_amd64.tar.gz && \ - tar -xvf stencil_0.9.0_linux_amd64.tar.gz && \ - chmod a+x stencil && \ - pwd && \ - rm stencil_0.9.0_linux_amd64.tar.gz + - name: Install Tool Versions + uses: jdx/mise-action@052520c41a328779551db19a76697ffa34f3eabc + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build Test repo shell: bash run: mise run buildtest diff --git a/.mise.toml b/.mise.toml index b953295..4c5e5ad 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,5 +1,6 @@ [tools] nodejs = "22" +"go:go.rgst.io/stencil/cmd/stencil" = "0.9.0" [tasks.buildtest] description = "Build the test template module to validate the templates" diff --git a/stencil.lock b/stencil.lock index e8ccb71..6cf9bb0 100644 --- a/stencil.lock +++ b/stencil.lock @@ -1,4 +1,4 @@ -version: 0.9.0 +version: v0.9.0 modules: - name: github.com/udemy/eng-team-management url: https://github.com/udemy/eng-team-management diff --git a/templates/.github/workflows/build-release.yml.tpl b/templates/.github/workflows/build-release.yml.tpl index 02abbfd..112b224 100644 --- a/templates/.github/workflows/build-release.yml.tpl +++ b/templates/.github/workflows/build-release.yml.tpl @@ -17,14 +17,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Install Stencil - shell: bash - run: | # install the stencil binary - wget https://github.com/rgst-io/stencil/releases/download/v0.9.0/stencil_0.9.0_linux_amd64.tar.gz && \ - tar -xvf stencil_0.9.0_linux_amd64.tar.gz && \ - chmod a+x stencil && \ - pwd && \ - rm stencil_0.9.0_linux_amd64.tar.gz + - name: Install Tool Versions + uses: jdx/mise-action@052520c41a328779551db19a76697ffa34f3eabc + env: + GH_TOKEN: {{ "${{ secrets.GITHUB_TOKEN }}" }} - name: Build Test repo shell: bash run: mise run buildtest diff --git a/templates/.mise.toml.tpl b/templates/.mise.toml.tpl index b953295..4c5e5ad 100644 --- a/templates/.mise.toml.tpl +++ b/templates/.mise.toml.tpl @@ -1,5 +1,6 @@ [tools] nodejs = "22" +"go:go.rgst.io/stencil/cmd/stencil" = "0.9.0" [tasks.buildtest] description = "Build the test template module to validate the templates"