Skip to content

Merge pull request #5 from konflux-ci/release-redo #17

Merge pull request #5 from konflux-ci/release-redo

Merge pull request #5 from konflux-ci/release-redo #17

Workflow file for this run

---
name: Test and Lint
on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, labeled]
workflow_dispatch:
jobs:
tox:
name: Run unit tests and linters
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Poetry
uses: snok/[email protected]
- name: Install dependencies
run: |
poetry install --no-interaction --no-root
- name: Install Hadolint via Brew
run: |
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
/home/linuxbrew/.linuxbrew/bin/brew install hadolint
sudo ln -s /home/linuxbrew/.linuxbrew/bin/hadolint /usr/bin/
- name: Run Tests
run: |
poetry run tox
commitlint:
name: Conventional Commit Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- uses: webiny/[email protected]