Skip to content

Commit 89d694a

Browse files
committed
Work CI-CD
- Add/update github actions. ***NO_CI***
1 parent 2c46f9f commit 89d694a

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

.github/workflows/pr-checks.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
name: PR Checks
5+
6+
on:
7+
pull_request:
8+
9+
jobs:
10+
check_package_lock:
11+
name: nanoFramework
12+
uses: nanoframework/nf-tools/.github/workflows/check-package-lock.yml@main
13+
check_nuget_latest:
14+
name: nanoFramework
15+
uses: nanoframework/nf-tools/.github/workflows/check-packages-updated.yml@main
16+
with:
17+
solution: 'nanoFramework.Azure.Devices.Client.sln'

.github/workflows/update-dependencies.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,14 @@ name: Daily update dependencies
77

88
on:
99
schedule:
10-
# Update At 00:00 UTC on Tuesday and Friday
11-
- cron: '0 0 * * 2,5'
10+
# At 00:00 UTC every day.
11+
- cron: '00 00 * * *'
1212
repository_dispatch:
1313
types: update-dependencies
1414

15-
defaults:
16-
run:
17-
shell: pwsh
18-
1915
jobs:
20-
update-nuget-dependencies:
21-
name: Update .NET nanoFramework dependencies
22-
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
23-
runs-on: windows-latest
24-
env:
25-
GITHUB_TOKEN: ${{ github.token }}
26-
steps:
27-
- name: Checkout
28-
uses: actions/checkout@v2
29-
- name: Update dependencies
30-
uses: nanoframework/nanodu@v1
31-
with:
32-
solutionsToCheck: 'nanoFramework.Azure.Devices.Client.sln'
16+
update-dependencies:
17+
name: nanoFramework
18+
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
19+
with:
20+
solutionsToCheck: 'nanoFramework.Azure.Devices.Client.sln'

0 commit comments

Comments
 (0)