Skip to content

Commit

Permalink
Merge pull request #20 from H1rono/gha
Browse files Browse the repository at this point in the history
GitHub Actionsセットアップした
  • Loading branch information
mehm8128 authored Apr 13, 2024
2 parents 965116d + 1733490 commit 761540b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo build
- run: cargo fmt --all -- --check
- run: cargo clippy -- -D warnings

0 comments on commit 761540b

Please sign in to comment.