Fix error "mkdir: cannot create directory '/var/run': File exists" #201
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
# This is a basic workflow for shellcheck | |
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
# for more options https://github.com/marketplace/actions/shellcheck | |
bats: | |
name: Bats testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Bats | |
run: sudo apt-get install bats | |
- uses: actions/checkout@v2 | |
- name: Test Bats | |
run: bats test_almalinux-deploy.bats |