init
lint / lint (push) Failing after 10s
lint / smoke (push) Skipped

This commit is contained in:
Sherif Emad
2026-11-08 15:39:22 +02:00
commit d67d814144
12 changed files with 972 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
name: lint
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install linters
run: |
if [ "$(id -u)" -eq 0 ]; then SUDO=""; else SUDO="sudo"; fi
$SUDO apt-get update -qq
$SUDO apt-get install -y -qq shellcheck yamllint
- name: shellcheck
run: shellcheck scripts/*.sh
- name: yamllint
run: yamllint -d relaxed actions/ .gitea/ consumer-example/
smoke:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: hello
uses: ./actions/hello
with:
name: smoke-test
- name: notify
uses: ./actions/notify
with:
status: ok
message: smoke test
- name: auto-tag (dry run)
id: tag
uses: ./actions/auto-tag
with:
tag-type: dev
- name: show result
run: echo "next tag would be ${{ steps.tag.outputs.tag }}"