Skip to content

desktime 6.0.4

desktime 6.0.4 #114

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_call:
workflow_dispatch:
env:
TASK_X_REMOTE_TASKFILES: 1
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
env:
BRANCH: ${{ github.head_ref || github.ref_name }}
GH_TOKEN: ${{ github.token }}
run: gh repo clone ${{ github.repository }} ${{ github.workspace }} -- --depth=1 --branch "$BRANCH"
- name: Add brew to PATH
shell: bash
run: |-
{
echo "/home/linuxbrew/.linuxbrew/sbin";
echo "/home/linuxbrew/.linuxbrew/bin";
} >> "$GITHUB_PATH"
- name: Install tools
run: |
brew install \
actionlint \
check-jsonschema \
fd \
go-task \
jq \
prettier \
shellcheck \
shfmt \
yamlfmt \
yamllint \
- name: Lint
run: task lint --yes