File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 1313jobs :
1414 build-and-deploy :
1515 runs-on : ubuntu-latest
16-
16+ env :
17+ working-directory : ${{ github.workspace }}
18+
1719 steps :
1820 - name : Checkout code
1921 uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+ - name : Lint Code Base
25+ uses : github/super-linter@v4
26+ env :
27+ VALIDATE_ALL_CODEBASE : false
28+ FILTER_REGEX_INCLUDE : .*src/.*
29+ DEFAULT_BRANCH : master
30+ GITHUB_TOKEN : ' ${{ env.github-token }}'
2031
2132 - name : Set up .NET
22- uses : actions/setup-dotnet@v4
33+ uses : actions/setup-dotnet@v3
2334 with :
2435 dotnet-version : ' 9.0.x'
2536
2637 - name : Restore dependencies
2738 run : dotnet restore
28-
39+ working-directory : ' ${{ env.working-directory }}'
40+
2941 - name : Build
3042 run : dotnet build --no-restore --configuration Release
31-
43+ working-directory : ' ${{ env.working-directory }}'
44+
3245 - name : Run tests
3346 run : dotnet test --no-build --verbosity normal
34-
47+ working-directory : ' ${{ env.working-directory }}'
48+
3549 - name : Set up Docker Buildx
3650 uses : docker/setup-buildx-action@v3
3751
You can’t perform that action at this time.
0 commit comments