Skip to content

Update Actions

Update Actions #318

Workflow file for this run

---
name: ci
"on":
pull_request:
push:
branches:
- main
jobs:
lint-unit:
uses: sous-chefs/.github/.github/workflows/[email protected]
permissions:
actions: write
checks: write
pull-requests: write
statuses: write
issues: write
integration:
needs: lint-unit
runs-on: ubuntu-latest
strategy:
matrix:
os:
- "debian-9"
- "debian-10"
- "ubuntu-2004"
- "ubuntu-2204"
- "centos-7"
- "centos-8"
- "centos-stream-8"
- "fedora-latest"
suite:
- "package"
- "source-18"
- "source-20"
- "source-22"
- "source-default"
- "source-openssl"
exclude:
# Excluded due to https://github.com/sous-chefs/haproxy/issues/475
- os: "fedora-latest"
suite: "source-18"
- os: "fedora-latest"
suite: "source-20"
- os: "fedora-latest"
suite: "source-22"
- os: "fedora-latest"
suite: "source-default"
- os: "fedora-latest"
suite: "source-openssl"
- os: "ubuntu-2204"
suite: "source-18"
- os: "ubuntu-2204"
suite: "source-20"
- os: "ubuntu-2204"
suite: "source-22"
- os: "ubuntu-2204"
suite: "source-24"
- os: "ubuntu-2204"
suite: "source-default"
- os: "ubuntu-2204"
suite: "source-openssl"
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Chef
uses: actionshub/chef-install@main
- name: Dokken
uses: actionshub/test-kitchen@main
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
integration-amazonlinux:
needs: lint-unit
runs-on: ubuntu-22.04
strategy:
matrix:
os:
- "amazonlinux-2"
suite:
- "package"
- "source-18"
- "source-20"
- "source-22"
- "source-default"
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Chef
uses: actionshub/[email protected]
- name: Dokken
uses: actionshub/[email protected]
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
lua_test:
needs: lint-unit
runs-on: ubuntu-latest
strategy:
matrix:
os:
- "centos-7"
suite:
- "source-lua"
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Chef
uses: actionshub/[email protected]
- name: Dokken
uses: actionshub/[email protected]
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
configtest:
needs: lint-unit
runs-on: ubuntu-latest
strategy:
matrix:
os:
- "centos-7"
- "centos-stream-8"
suite:
- "config-1"
- "config-1-userlist"
- "config-2"
- "config-3"
- "config-4"
- "config-backend-search"
- "config-acl"
- "config-resolver"
- "config-ssl-redirect"
- "config-custom-template"
- "config-custom-template"
- "config-array"
- "config-fastcgi"
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Chef
uses: actionshub/[email protected]
- name: Dokken
uses: actionshub/[email protected]
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}