Clean up systemd unit disable logic #2592
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
name: pr | |
on: | |
pull_request | |
jobs: | |
lint: | |
name: Check that it conforms to the style guide | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout the Git repository | |
uses: actions/checkout@v3 | |
- name: Setup Toltec dependencies | |
uses: ./.github/actions/setup | |
- name: Check formatting | |
run: make format | |
- name: Check for erroneous constructs | |
run: make lint | |
pr: | |
name: Check that it builds without error | |
runs-on: ubuntu-20.04 | |
needs: lint | |
steps: | |
- name: Checkout the Git repository | |
uses: actions/checkout@v3 | |
- name: Setup Toltec dependencies | |
uses: ./.github/actions/setup | |
- name: Build packages | |
run: make repo-new FLAGS='--remote-repo https://toltec-dev.org/${{ github.base_ref }}' | |
- name: Save the build output | |
uses: actions/upload-artifact@v3 | |
with: | |
name: repo | |
path: build/repo |