Merge pull request #47 from kplachkov:fix-config-installation #82
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
DOTFILES_PATH: ${{ github.workspace }} | |
jobs: | |
test: | |
name: "Test" | |
timeout-minutes: 60 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Test installation" | |
run: make auto-install | |
lint: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo snap install shellcheck | |
- run: sudo snap install shfmt | |
- run: make lint |