mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-19 04:47:19 +02:00
Compare commits
6 Commits
d6bb4e712b
...
d0015a66e5
Author | SHA1 | Date | |
---|---|---|---|
d0015a66e5 | |||
1094a0c0c7 | |||
40f3392c1e | |||
7039e208dc | |||
95de7e2604 | |||
4fcc867d13 |
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,6 +1,10 @@
|
|||||||
|
# Editor swap files
|
||||||
*~*
|
*~*
|
||||||
*.swp
|
*.swp
|
||||||
*.tmp
|
*.tmp
|
||||||
wwwuser
|
|
||||||
openbox/*
|
# .gitlab-ci.yml pre-commit directory
|
||||||
|
.cache/**
|
||||||
|
|
||||||
|
# Symlink
|
||||||
install.run
|
install.run
|
||||||
|
16
.gitlab-ci.yml
Normal file
16
.gitlab-ci.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Based on https://pre-commit.com
|
||||||
|
image: python:alpine
|
||||||
|
gitlab-ci-pre-commit:
|
||||||
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- apk add --no-cache git gcc musl-dev go
|
||||||
|
- pip install pre-commit
|
||||||
|
script:
|
||||||
|
- pre-commit run --all-files --show-diff-on-failure
|
||||||
|
variables:
|
||||||
|
# Remember to gitignore .cache/**
|
||||||
|
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
|
||||||
|
TERM: dumb
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- ${PRE_COMMIT_HOME}
|
@ -43,13 +43,13 @@ repos:
|
|||||||
# - id: mypy
|
# - id: mypy
|
||||||
|
|
||||||
# GitHub Actions etc. configuration validity checking
|
# GitHub Actions etc. configuration validity checking
|
||||||
# - repo: https://github.com/python-jsonschema/check-jsonschema
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
# rev: 0.23.0
|
rev: 0.23.0
|
||||||
# hooks:
|
hooks:
|
||||||
# - id: check-dependabot
|
#- id: check-dependabot
|
||||||
# - id: check-github-actions
|
#- id: check-github-actions
|
||||||
# - id: check-github-workflows
|
#- id: check-github-workflows
|
||||||
# - id: check-gitlab-ci
|
- id: check-gitlab-ci
|
||||||
|
|
||||||
# - repo: https://github.com/jumanjihouse/pre-commit-hooks
|
# - repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||||
# rev: 3.0.0
|
# rev: 3.0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user