Bump SaltStack version to 3006.5
#108
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# vim: ft=yaml | |
--- | |
name: 'Kitchen (Linux)' | |
'on': ['push', 'pull_request'] | |
jobs: | |
pre-commit: | |
runs-on: 'ubuntu-20.04' | |
steps: | |
- uses: 'actions/checkout@v3' | |
- uses: 'actions/setup-python@v4' | |
with: | |
python-version: '3.x' | |
- uses: 'pre-commit/action@v3.0.0' | |
with: | |
extra_args: --verbose --all-files | |
kitchen: | |
needs: ['pre-commit'] | |
runs-on: 'ubuntu-20.04' | |
strategy: | |
fail-fast: false | |
matrix: | |
instance: | |
- default-ubuntu-2204-master-py3 | |
- default-ubuntu-2004-master-py3 | |
- default-ubuntu-1804-master-py3 | |
steps: | |
- name: 'Check out code' | |
uses: 'actions/checkout@v3' | |
- name: 'Set up Bundler cache' | |
uses: 'actions/cache@v3' | |
with: | |
path: 'vendor/bundle' | |
key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}" | |
restore-keys: "${{ runner.os }}-gems-" | |
- name: 'Install Bundler' | |
run: | | |
sudo gem install bundler \ | |
-v "$(grep -A 1 'BUNDLED WITH' Gemfile.lock | tail -n 1)" \ | |
--quiet --no-document | |
- name: 'Run Bundler' | |
run: | | |
ruby --version | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
- name: 'Run Test Kitchen' | |
run: 'bundle exec kitchen verify ${{ matrix.instance }}' | |
env: | |
CHEF_LICENSE: 'accept-no-persist' |