diff --git a/.github/actions/test-kitchen/action.yml b/.github/actions/test-kitchen/action.yml index ceedf220..c018ca56 100644 --- a/.github/actions/test-kitchen/action.yml +++ b/.github/actions/test-kitchen/action.yml @@ -11,8 +11,6 @@ inputs: runs: using: "composite" steps: - - name: Check out code - uses: actions/checkout@v4 - name: Install Chef uses: actionshub/chef-install@3.0.0 - name: Dokken diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20cb4128..03e522cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ name: ci jobs: lint-unit: - uses: sous-chefs/.github/.github/workflows/lint-unit.yml@3.1.1 + uses: sous-chefs/.github/.github/workflows/lint-unit.yml@main permissions: actions: write checks: write @@ -23,21 +23,24 @@ jobs: strategy: fail-fast: false matrix: - os: [ - "almalinux-8", - "almalinux-9", - "amazonlinux-2023", - "centos-stream-8", - "centos-stream-9", - "debian-11", - "debian-12", - "rockylinux-8", - "rockylinux-9", - "ubuntu-2204", - "ubuntu-2404", - ] + os: + [ + "almalinux-8", + "almalinux-9", + "amazonlinux-2023", + "centos-stream-8", + "centos-stream-9", + "debian-11", + "debian-12", + "rockylinux-8", + "rockylinux-9", + "ubuntu-2204", + "ubuntu-2404", + ] suite: ["distro", "repo", "repo-overrides"] steps: + - name: Check out code + uses: actions/checkout@v4 - uses: ./.github/actions/test-kitchen with: suite: ${{ matrix.suite }} @@ -49,16 +52,19 @@ jobs: strategy: fail-fast: false matrix: - os: [ - "almalinux-8", - "almalinux-9", - "centos-stream-8", - "centos-stream-9", - "rockylinux-8", - "rockylinux-9", - ] + os: + [ + "almalinux-8", + "almalinux-9", + "centos-stream-8", + "centos-stream-9", + "rockylinux-8", + "rockylinux-9", + ] suite: ["epel"] steps: + - name: Check out code + uses: actions/checkout@v4 - uses: ./.github/actions/test-kitchen with: suite: ${{ matrix.suite }} @@ -73,6 +79,8 @@ jobs: os: ["ubuntu-2204", "ubuntu-2404"] suite: ["distro-nginx-full"] steps: + - name: Check out code + uses: actions/checkout@v4 - uses: ./.github/actions/test-kitchen with: suite: ${{ matrix.suite }}