Skip to content

Commit 858283a

Browse files
committed
Have PR build not use dev container to prevent dependabot build failure with .net updates
1 parent cff49c5 commit 858283a

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,22 @@ on:
44
pull_request:
55
schedule:
66
# Runs every night at 2 AM UTC. This is to detect flakey builds
7-
- cron: '0 2 * * *'
7+
- cron: "0 2 * * *"
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v6
13+
- name: Checkout
14+
uses: actions/checkout@v6
1515

16-
- name: Run Build in Dev Container
17-
uses: devcontainers/ci@v0.3
18-
with:
19-
runCmd: |
16+
- name: Setup .NET SDK
17+
uses: actions/setup-dotnet@v5
18+
with:
19+
# Use the .NET SDK from global.json in the root of the repository.
20+
global-json-file: global.json
21+
22+
- name: Build
23+
run: |
24+
dotnet tool restore
2025
dotnet cake

0 commit comments

Comments
 (0)