Skip to content

Commit

Permalink
fix: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
deregtd committed Aug 21, 2024
1 parent b77fef5 commit fc80ae5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 17 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion stencil.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 4 additions & 8 deletions templates/.github/workflows/build-release.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions templates/.mise.toml.tpl
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit fc80ae5

Please sign in to comment.