Skip to content

Commit

Permalink
Do not depend on mise-action
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed May 20, 2024
1 parent 629376b commit b4ab2c9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@0c39a522dfbced3ed83924152c45804a71ce216f # v2.0.4
with:
mise_toml: |
[tools]
# TODO: Apply selfup after https://github.com/google/yamlfmt/pull/180
yamlfmt = "0.12.1"
- name: Install mise
run: |
curl https://mise.jdx.dev/install.sh | sh
echo "$HOME/.local/share/mise/bin" >> $GITHUB_PATH
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH
- name: Install yamlfmt
# TODO: Apply selfup after https://github.com/google/yamlfmt/pull/180
run: mise use -g [email protected]
- run: yamlfmt -lint .

0 comments on commit b4ab2c9

Please sign in to comment.