Skip to content

Commit 5b0c10b

Browse files
committed
Work CI-CD
- Add github action to perform PR checks. - Update github action that updates dependencies to use action template. ***NO_CI***
1 parent d091746 commit 5b0c10b

File tree

2 files changed

+23
-18
lines changed

2 files changed

+23
-18
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.System.Device.Gpio.sln'

.github/workflows/update-dependencies.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running.
55

6-
name: Daily update dependencies
6+
name: Update .NET nanoFramework dependencies
77

88
on:
99
schedule:
@@ -12,21 +12,9 @@ on:
1212
repository_dispatch:
1313
types: update-dependencies
1414

15-
defaults:
16-
run:
17-
shell: pwsh
18-
1915
jobs:
20-
update-dotnet-preview:
21-
name: Update .NET nanoFramework dependencies
22-
timeout-minutes: 15
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.System.Device.Gpio.sln'
16+
update-dependencies:
17+
name: nanoFramework
18+
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
19+
with:
20+
solutionsToCheck: 'nanoFramework.System.Device.Gpio.sln'

0 commit comments

Comments
 (0)