Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
todor-a committed Aug 20, 2024
1 parent 67452b8 commit 46c8856
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 39 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/lint-pr.yml

This file was deleted.

32 changes: 14 additions & 18 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
name: Cargo Build & Test
name: Lint PR

on:
push:
pull_request:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened

env:
CARGO_TERM_COLOR: always
permissions:
pull-requests: read

jobs:
build_and_test:
name: Rust project - latest
main:
name: Validate PR title
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
# - beta
# - nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Cargo Build & Test

on:
push:
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@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

0 comments on commit 46c8856

Please sign in to comment.