ci: further fixes on missed actions/upload-artifact #73
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/CD tests | |
on: | |
push: | |
branches: | |
- dev/** | |
workflow_call: | |
jobs: | |
sctests: | |
name: ShellCheck Tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Pre-requisites | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq shellcheck | |
- name: shellcheck | |
run: | | |
make shellcheck | |
codetests: | |
name: General Tests | |
runs-on: windows-2019 | |
needs: sctests | |
steps: | |
- name: Set git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- uses: actions/checkout@v4 | |
- uses: Vampire/[email protected] | |
with: | |
distribution: Debian | |
update: 'true' | |
set-as-default: 'true' | |
additional-packages: | |
gzip | |
make | |
desktop-file-utils | |
bats | |
x11-apps | |
- shell: wsl-bash -u root {0} | |
run: | | |
make | |
make install | |
make test |