Skip to content

Add tmt lint workflow #4

Add tmt lint workflow

Add tmt lint workflow #4

Workflow file for this run

---
name: tmt Lint
on: # yamllint disable-line rule:truthy
pull_request:
merge_group:
branches:
- main
types:
- checks_requested
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
tmt_lint:
runs-on: ubuntu-latest
steps:
- name: Install podman
run: |
set -euxo pipefail
sudo apt update
sudo apt install -y podman
- name: Checkout repo
uses: actions/checkout@v4
with:
path: tft-tests
- name: Run tmt Lint
run: >
podman run -it
--volume ./tft-tests:/tft-tests:Z
--workdir /tft-tests
--rm quay.io/testing-farm/tmt
tmt lint