Skip to content

chore(deps): bump actions/upload-artifact from 4 to 7 #115

chore(deps): bump actions/upload-artifact from 4 to 7

chore(deps): bump actions/upload-artifact from 4 to 7 #115

Workflow file for this run

name: PR Checks
on:
pull_request:
types: [opened, synchronize, reopened]
env:
SOLUTION_PATH: 'auction.sln'
jobs:
lint:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Check formatting
run: dotnet format ${{ env.SOLUTION_PATH }} --verify-no-changes --verbosity diagnostic
pr-validation:
name: PR Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check PR title
run: |
PR_TITLE="${{ github.event.pull_request.title }}"
if [[ ! "$PR_TITLE" =~ ^(feat|fix|docs|style|refactor|perf|test|chore|ci)(\(.+\))?:\ .+ ]]; then
echo "PR title must follow conventional commits format"
echo " Example: feat(auction): add new bidding feature"
exit 1
fi
echo "PR title is valid"
- name: Check for breaking changes
run: |
# Check if any API contracts changed
CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD)
if echo "$CHANGED_FILES" | grep -q "Contracts/"; then
echo "::warning::API contracts modified - ensure backward compatibility"
fi