-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmerge_group,pull_request.all.lint.yaml
More file actions
35 lines (32 loc) · 1.15 KB
/
merge_group,pull_request.all.lint.yaml
File metadata and controls
35 lines (32 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2024
#
# Everyone is permitted to copy, distribute, modify, merge, sell, publish,
# sublicense or whatever the fuck they want with this software but at their
# OWN RISK.
# The author has absolutely no fucking clue what the code in this project
# does. It might just fucking work or not, there is no third option.
#
# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
---
name: 🚨 Lint Everything
on:
merge_group: {}
pull_request: {}
permissions: {}
jobs:
trunk:
name: ✅ Validate code quality
permissions:
contents: read
checks: write
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repository
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: ✏️ Overrides Trunk configuration for Github Action
run: mv .trunk/gha.yaml .trunk/user.yaml
- name: ⚡️ Run `trunk check`
uses: trunk-io/trunk-action@da67635060feab46c164bc130690e61864a5d13b # v1.1.13