- Add github action with PR checks.
- Update github action to update dependencies with template.

***NO_CI***
This commit is contained in:
José Simões 2022-09-13 11:07:32 +01:00
Родитель 68e8309c19
Коммит 4e32e2d956
2 изменённых файлов: 22 добавлений и 17 удалений

17
.github/workflows/pr-checks.yml поставляемый Normal file
Просмотреть файл

@ -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'

22
.github/workflows/update-dependencies.yml поставляемый
Просмотреть файл

@ -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'