add gitignore to my deployed branch #74
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: Build Feature | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- feature/* | |
- bug/* | |
- hotfix/* | |
permissions: | |
contents: read | |
packages: read | |
actions: read | |
jobs: | |
build-feature: | |
name: Build, Test and Verify Feature Branch | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
packages: read | |
actions: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.x' | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
## TODO: Ross/Gabriel: Please uncomment the lines below and update if necessary once you are happy your code will pass the checks below | |
# - name: Test | |
# run: dotnet test --verbosity normal | |
# | |
# - name: Format check | |
# run: dotnet format | |
# | |
# - name: Install .NET analyzers | |
# run: dotnet tool install -g dotnet-format | |
# | |
## TODO: Note from Gabriel: the final command should have the '/warnerror' argument in the near future | |
# - name: Run .NET analyzers | |
# run: | | |
# dotnet tool install --global dotnet-format | |
# dotnet build --no-restore --configuration Release |