Merge pull request #1 from DotNetExtension/dependabot/github_actions/… #15
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 Code | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-code: | |
name: Build Code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Set up .NET | |
uses: zyactions/dotnet-setup@v1 | |
with: | |
global-json-file: global.json | |
- name: Restore .NET dependencies | |
uses: zyactions/dotnet-restore@v1 | |
- name: Build solution | |
run: dotnet build |