Check All Solutions #30
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: Check All Solutions | |
on: | |
workflow_dispatch: | |
push: | |
schedule: | |
- cron: '31 17 * * *' | |
jobs: | |
works-on-latest-v-and-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install colordiff libssl-dev libpcre3 libpcre3-dev | |
- name: Checkout V | |
uses: actions/checkout@v4 | |
with: | |
repository: vlang/v | |
- name: Build V | |
run: make && ./v symlink -githubci | |
- name: Checkout V AoC repo | |
uses: actions/checkout@v2 | |
with: | |
path: aoc | |
- name: Install dependencies | |
run: v install pcre | |
- name: Check .v formatting | |
run: v fmt . -c | |
- name: Run verify.v to check solutions | |
run: cd aoc && v run verify.v |