Skip to content

Github Actionsへの移行 #2

Github Actionsへの移行

Github Actionsへの移行 #2

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- uses: actions/checkout@v4
- name: Install Clippy and Rustfmt
run: |
rustup component add clippy
rustup component add rustfmt
- name: Run Clippy
run: cargo clippy -- -D warnings
- name: Check code formatting
run: cargo fmt -- --check
- name: Run Unit Tests
run: cargo test