Skip to content

Add workflows for other dirs #3

Add workflows for other dirs

Add workflows for other dirs #3

Workflow file for this run

name: Build guessing-game
on:
pull_request:
paths:
- '.github/workflows/guessing-game.yml'
- 'guessing-game/**'
push:
branches:
- main
defaults:
run:
working-directory: 'guessing-game'
env:
# Disable incremental compilation for faster from-scratch builds
CARGO_INCREMENTAL: 0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update
- run: cargo fmt --check
- run: cargo clippy
- run: cargo test
- run: cargo build --release