chore(deps): Update dependency nunit.analyzers to 4.4.0 #363
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
- 'v*' | |
jobs: | |
generate-build-and-check-changes: | |
name: Generate, build and check uncommitted changes | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Buf | |
uses: bufbuild/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run the generate script | |
uses: cake-build/cake-action@v1 | |
env: | |
BUF_TOKEN: ${{ secrets.BUF_TOKEN }} | |
with: | |
cake-bootstrap: true | |
target: Generate | |
- name: Run the build script | |
uses: cake-build/cake-action@v1 | |
with: | |
cake-bootstrap: true | |
target: Build | |
- name: Check repo status | |
run: |- | |
REPO_STATUS="$(git status --porcelain)" | |
if [[ ! -z $REPO_STATUS ]]; then | |
echo "::error::Uncommitted changes detected" | |
echo "$REPO_STATUS" | |
exit 1 | |
fi | |
tests: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Buf | |
uses: bufbuild/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run the test script | |
uses: cake-build/cake-action@v1 | |
with: | |
cake-bootstrap: true | |
target: UnitTests |