Skip to content

Commit

Permalink
Merge pull request #66 from myyrakle/chore/#65
Browse files Browse the repository at this point in the history
[#65] github workflow 설정
  • Loading branch information
myyrakle authored Mar 15, 2024
2 parents 124648f + 3fdaa30 commit b81cac0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resolved: #issue

## 설명
간단하게 해당 PR이 어떤 내용인지 작성합니다. 이슈를 통해서 충분히 설명이 가능 하다고 생각하면 resolved만 작성하시면 됩
니다.
32 changes: 32 additions & 0 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Cargo Build & Test

on:
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v3

- uses: actions/cache@v3
with:
path: |
~/.cargo/bin
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }}

- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- run: cargo build --verbose
- run: cargo test --verbose

0 comments on commit b81cac0

Please sign in to comment.