Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/trunk-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Trunk Code Quality

on:
push:
branches: [main]
tags: ["v*.*.*"]
pull_request:
types: [opened, synchronize, reopened]
schedule:
- cron: "0 05 * * 5"
workflow_dispatch: {}

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check:
name: Trunk Code Quality
permissions:
actions: read
checks: write
contents: read
uses: z-shell/.github/.github/workflows/trunk.yml@main
with:
arguments: --no-progress
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.travis.yml
code-of-conduct.md
contributing.md
9 changes: 9 additions & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Trunk local state
actions
logs
notifications
out
plugins
tmp
tools
user.yaml
8 changes: 8 additions & 0 deletions .trunk/configs/.markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
default: true
MD004: false
MD010: false
MD013: false
MD033: false
MD034: false
MD041: false
11 changes: 11 additions & 0 deletions .trunk/configs/.yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
extends: default

ignore: |
.travis.yml

rules:
document-start: disable
line-length: disable
truthy:
allowed-values: ["true", "false", "on", "off"]
37 changes: 37 additions & 0 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
version: 0.1
cli:
version: 1.25.0
repo:
repo:
host: github.com
owner: z-shell
name: zunit
plugins:
sources:
- id: trunk
ref: v1.10.0
uri: https://github.com/trunk-io/plugins
lint:
disabled:
- checkov
- trivy
- trufflehog
enabled:
- actionlint@1.7.12
- git-diff-check
- gitleaks@8.30.1
- markdownlint@0.48.0
- prettier@3.8.3
- yamllint@1.38.0
runtimes:
enabled:
- go@1.21.0
- node@22.16.0
- python@3.14.4
actions:
enabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
- trunk-upgrade-available
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ zulu install zunit

> **NOTE:** In versions of Zulu prior to `1.2.0`, there is an additional step required after install:

```sh
cd ~/.zulu/packages/zunit
./build.zsh
zulu link zunit
```
```sh
cd ~/.zulu/packages/zunit
./build.zsh
zulu link zunit
```

### [zplug](https://github.com/zplug/zplug)

ZUnit and its dependencies can all be installed with zplug.
Expand All @@ -56,7 +56,6 @@ zplug 'zdharma/zunit', \
hook-build:'./build.zsh'
```


### Homebrew

```sh
Expand Down Expand Up @@ -113,4 +112,4 @@ ZUnit is licensed under The MIT License (MIT)

## Team

* [James Dinsdale](http://molovo.co)
- [James Dinsdale](http://molovo.co)
Loading