Work CI-CD
- Add github action with PR checks. - Update github action to update dependencies with template. ***NO_CI***
This commit is contained in:
Родитель
68e8309c19
Коммит
4e32e2d956
|
@ -0,0 +1,17 @@
|
|||
# Copyright (c) .NET Foundation and Contributors
|
||||
# See LICENSE file in the project root for full license information.
|
||||
|
||||
name: PR Checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check_package_lock:
|
||||
name: nanoFramework
|
||||
uses: nanoframework/nf-tools/.github/workflows/check-package-lock.yml@main
|
||||
check_nuget_latest:
|
||||
name: nanoFramework
|
||||
uses: nanoframework/nf-tools/.github/workflows/check-packages-updated.yml@main
|
||||
with:
|
||||
solution: 'nanoFramework.System.Device.Gpio.sln'
|
|
@ -12,21 +12,9 @@ on:
|
|||
repository_dispatch:
|
||||
types: update-dependencies
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
|
||||
jobs:
|
||||
update-dotnet-preview:
|
||||
name: Update .NET nanoFramework dependencies
|
||||
timeout-minutes: 15
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Update dependencies
|
||||
uses: nanoframework/nanodu@v1
|
||||
with:
|
||||
solutionsToCheck: 'nanoFramework.System.Device.Spi.sln'
|
||||
update-dependencies:
|
||||
name: nanoFramework
|
||||
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
|
||||
with:
|
||||
solutionsToCheck: 'nanoFramework.System.Device.Spi.sln'
|
||||
|
|
Загрузка…
Ссылка в новой задаче