Configure Dependabot #35
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
name: kitchen | |
on: [push, pull_request] | |
jobs: | |
kitchen: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@master | |
- name: Install Vagrant | |
run: | | |
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - | |
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | |
sudo apt update && sudo apt install -y vagrant | |
vagrant autocomplete install | |
- name: Cache Vagrant boxes | |
uses: actions/cache@v2 | |
with: | |
path: ~/.vagrant.d/boxes | |
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }} | |
restore-keys: | | |
${{ runner.os }}-vagrant- | |
- name: Install Chef | |
uses: actionshub/chef-install@main | |
- name: Kitchen Converge | |
uses: actionshub/test-kitchen@1.0.2 | |
env: | |
CHEF_LICENSE: accept-no-persist | |
KITCHEN_LOCAL_YAML: kitchen.yml | |
TERM: xterm-256color | |
- name: Kitchen Verify | |
uses: actionshub/test-kitchen@1.0.2 | |
env: | |
CHEF_LICENSE: accept-no-persist | |
KITCHEN_LOCAL_YAML: kitchen.yml | |
TERM: xterm-256color |