This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
Dataset loader #40
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: Maintenance checks | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/**' | |
- 'trabalho-pratico/src/**' | |
- 'trabalho-pratico/include/**' | |
- 'trabalho-pratico/Makefile' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Don't fail on empty include (not tracked by git) | |
- run: if ! [ -d trabalho-pratico/include ]; then mkdir trabalho-pratico/include; fi | |
- run: cd trabalho-pratico && make | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# clang-format doesn't come with act's local images. This is just for testing, as | |
# scripts contain | |
- run: if [ -n "$ACT" ]; then apt update && apt -y install clang-format; fi | |
# Don't fail on empty include (not tracked by git) | |
- run: if ! [ -d trabalho-pratico/include ]; then mkdir trabalho-pratico/include; fi | |
- run: ./trabalho-pratico/scripts/format.sh --check |