Skip to content

Commit 4b8885a

Browse files
committed
Merge branch 'master' into hyperupcall-fix-makefile
2 parents 7b2e28d + bcf78f7 commit 4b8885a

File tree

5 files changed

+29
-1
lines changed

5 files changed

+29
-1
lines changed

.editorconfig

+6
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ charset = utf-8
1212

1313
[*.sh]
1414
indent_size = 2
15+
16+
[*.{yaml,yml}]
17+
indent_size = 2
18+
19+
[Makefile]
20+
indent_style = tab

.github/workflows/tests.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: 'Run Tests'
3+
4+
on:
5+
pull_request:
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
pre-commit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out code
14+
uses: actions/checkout@v3
15+
16+
- name: 'Execute tests'
17+
run: './run_tests'

.pre-commit-config.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ repos:
2020
additional_dependencies:
2121
- mdformat-gfm
2222
- mdformat-toc
23-
2423
# EOF

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export LC_ALL=C
12
FILE_NAME=lscolors
23
XDG_DATA_HOME ?= $(HOME)/.local/share
34
XDG_DATA_HOME := "$(XDG_DATA_HOME)"

tests/works_without_env

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
#
3+
4+
unset -v XDG_DATA_HOME
5+
make install

0 commit comments

Comments
 (0)