Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Merge pull request #35 from kachick/bump-runner-to-ubuntu-2404 #69

Merge pull request #35 from kachick/bump-runner-to-ubuntu-2404

Merge pull request #35 from kachick/bump-runner-to-ubuntu-2404 #69

Workflow file for this run

name: 👕
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
dprint:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dprint/check@v2.2
with:
dprint-version: '0.45.1' # selfup {"extract":"\\d[^']+","replacer":["dprint", "--version"], "nth": 2}
yamlfmt:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- 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 yamlfmt@0.12.1
- run: yamlfmt -lint .
typos:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.21.0 # selfup {"extract":"\\d\\.\\d+\\.\\d+","replacer":["typos", "--version"], "nth": 2}
with:
files: |
.
.github
.vscode