From d2e8a359188c3e17a1f501602fca4fcbcfafbdd2 Mon Sep 17 00:00:00 2001 From: Connor Slade Date: Sun, 26 Nov 2023 12:40:41 -0500 Subject: [PATCH] Fix CI --- .github/workflows/aoc_2021.yml | 6 ++++-- .github/workflows/aoc_2022.yml | 6 ++++-- .github/workflows/bin.yml | 6 ++++-- README.md | 6 +++--- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/aoc_2021.yml b/.github/workflows/aoc_2021.yml index 0574f6c..6930486 100644 --- a/.github/workflows/aoc_2021.yml +++ b/.github/workflows/aoc_2021.yml @@ -1,7 +1,9 @@ name: aoc_2021 on: + workflow_dispatch: push: paths: + - "common/**" - "aoc_2021/**" env: @@ -18,6 +20,6 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build - run: cargo build -p ${{ env.CRATE }}} + run: cargo build -p ${{ env.CRATE }} - name: Test - run: cargo test -p ${{ env.CRATE }}} + run: cargo test -p ${{ env.CRATE }} diff --git a/.github/workflows/aoc_2022.yml b/.github/workflows/aoc_2022.yml index 58b0af9..c9cc904 100644 --- a/.github/workflows/aoc_2022.yml +++ b/.github/workflows/aoc_2022.yml @@ -1,7 +1,9 @@ name: aoc_2022 on: + workflow_dispatch: push: paths: + - "common/**" - "aoc_2022/**" env: @@ -18,6 +20,6 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build - run: cargo build -p ${{ env.CRATE }}} + run: cargo build -p ${{ env.CRATE }} - name: Test - run: cargo test -p ${{ env.CRATE }}} + run: cargo test -p ${{ env.CRATE }} diff --git a/.github/workflows/bin.yml b/.github/workflows/bin.yml index 184b852..794f6b7 100644 --- a/.github/workflows/bin.yml +++ b/.github/workflows/bin.yml @@ -1,7 +1,9 @@ name: bin on: + workflow_dispatch: push: paths: + - "common/**" - "src/**" - "Cargo.toml" @@ -19,6 +21,6 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build - run: cargo build -p ${{ env.CRATE }}} + run: cargo build -p ${{ env.CRATE }} - name: Test - run: cargo test -p ${{ env.CRATE }}} + run: cargo test -p ${{ env.CRATE }} diff --git a/README.md b/README.md index 68edf0e..5f7a1dd 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# 🎄 Advent-Of-Code [![CI](https://github.com/Basicprogrammer10/Advent-Of-Code-2021/actions/workflows/rust.yml/badge.svg)](https://github.com/Basicprogrammer10/Advent-Of-Code-2021/actions/workflows/rust.yml) ![GitHub last commit](https://img.shields.io/github/last-commit/Basicprogrammer10/Advent-Of-Code-2021) +# 🎄 Advent-Of-Code [![bin](https://github.com/Basicprogrammer10/advent-of-code/actions/workflows/bin.yml/badge.svg)](https://github.com/Basicprogrammer10/advent-of-code/actions/workflows/bin.yml) ![GitHub last commit](https://img.shields.io/github/last-commit/Basicprogrammer10/advent-of-code) My Rusty [Solutions](https://github.com/Basicprogrammer10/Advent-Of-Code-2021/tree/master/src/solutions) to [Advent Of Code 2022](https://adventofcode.com) -## [2022](https://adventofcode.com/2022) (84%) +## [2022](https://adventofcode.com/2022) [![aoc_2022](https://github.com/Basicprogrammer10/advent-of-code/actions/workflows/aoc_2022.yml/badge.svg)](https://github.com/Basicprogrammer10/advent-of-code/actions/workflows/aoc_2022.yml) - Day 01: Calorie Counting [[A](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2022/day_01.rs#L10), [B](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2022/day_01.rs#L17)] - Day 02: Rock Paper Scissors [[A](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2022/day_02.rs#L10), [B](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2022/day_02.rs#L29)] @@ -26,7 +26,7 @@ My Rusty [Solutions](https://github.com/Basicprogrammer10/Advent-Of-Code-2021/tr - Day 22 Monkey Math [[A](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2022/day_22.rs#L13), [B](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2022/day_22.rs#L21)] - Day 25 Monkey Math [[A](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2022/day_25.rs#L10), [B](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2022/day_25.rs#L15)] -## [2021](https://adventofcode.com/2021) (48%) +## [2021](https://adventofcode.com/2021) [![aoc_2021](https://github.com/Basicprogrammer10/advent-of-code/actions/workflows/aoc_2021.yml/badge.svg)](https://github.com/Basicprogrammer10/advent-of-code/actions/workflows/aoc_2021.yml) - Day 01: Sonar Sweep [[A](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2021/day_01.rs#L10), [B](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2021/day_01.rs#L20)] - Day 02: Dive! [[A](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2021/day_02.rs#L10), [B](https://github.com/Basicprogrammer10/Advent-Of-Code/blob/master/src/solutions/year_2021/day_02.rs#L30)]