Run some checks on push #39
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: push | |
run-name: Run some checks on push | |
on: [push] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout config | |
run: | | |
git clone https://github.com/IthacaThings/ttn-multitech-config --branch ttn-ithaca-test .ttn_org | |
mkdir .ttn_org/catalog | |
- name: Install ttn-lw-stack | |
run: | | |
sudo snap install ttn-lw-stack | |
sudo snap alias ttn-lw-stack.ttn-lw-cli ttn-lw-cli | |
# Prevent ${HOME}/.cache from being owned by root | |
mkdir -p ${HOME}/snap/ttn-lw-stack/common/ttn-lw-cli | |
mkdir -p ${HOME}/.cache | |
- name: Run syntax-check | |
run: | | |
bin/run make syntax-check | |
# - name: Run ansible-lint | |
# run: | | |
# bin/run make lint | |
... |