Skip to content

Merge branch 'master' of github.com:tatupesonen/aoc #36

Merge branch 'master' of github.com:tatupesonen/aoc

Merge branch 'master' of github.com:tatupesonen/aoc #36

Workflow file for this run

on:
push:
paths:
- "y_2022/**"
- ".github/**"
name: CI (2022)
jobs:
execute:
name: Run application
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- uses: Swatinem/rust-cache@v2
- name: Move to folder & run
run: |
cd y_2022
echo "force ci"
cargo build --release --quiet
cargo run --release
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- uses: Swatinem/rust-cache@v2
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
args: --manifest-path 2022/Cargo.toml
command: test