Merge multiple dependency updates #360
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: ci-unit-tests | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
unit: | |
name: unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: clean unncessary files to save space | |
run: | | |
docker rmi `docker images -q` | |
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/sudo apt/sources.list.d | |
sudo apt -y autoremove --purge | |
sudo apt -y autoclean | |
sudo apt clean | |
rm -rf "$AGENT_TOOLSDIRECTORY" | |
df -h | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
tool-cache: true | |
large-packages: true | |
swap-storage: true | |
- name: Install linker | |
run: | | |
sudo apt update | |
sudo apt install -y --no-install-recommends gcc | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Check Rust version | |
run: rustc --version | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: "3.x" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: DELETEME | |
run: | | |
cargo install erdtree | |
erd -H -L 1 / | |
- name: Run unit tests | |
shell: bash | |
run: scripts/tests.unit.sh |