diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml new file mode 100644 index 0000000..a23fa74 --- /dev/null +++ b/.github/workflows/pr-checks.yml @@ -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.Device.OneWire.sln' diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 8b2bc8c..b050e64 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -12,21 +12,11 @@ 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.Device.OneWire.sln' + update-dependencies: + name: nanoFramework + uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main + with: + solutionsToCheck: 'nanoFramework.Device.OneWire.sln' + secrets: + githubAuth: ${{ secrets.NFBOT_GITHUB_ACTIONS }} diff --git a/README.md b/README.md index 17faba6..2abe66f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_nanoFramework.Device.OneWire&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_nanoFramework.Device.OneWire) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_nanoFramework.Device.OneWire&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_nanoFramework.Device.OneWire) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.Device.OneWire.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.Device.OneWire/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_nanoFramework.Device.OneWire&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_nanoFramework.Device.OneWire) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_nanoFramework.Device.OneWire&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_nanoFramework.Device.OneWire) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.Device.OneWire.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.Device.OneWire/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T) ![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png) diff --git a/nanoFramework.Device.OneWire/nanoFramework.Device.OneWire.nfproj b/nanoFramework.Device.OneWire/nanoFramework.Device.OneWire.nfproj index 0911c7c..2bef709 100644 --- a/nanoFramework.Device.OneWire/nanoFramework.Device.OneWire.nfproj +++ b/nanoFramework.Device.OneWire/nanoFramework.Device.OneWire.nfproj @@ -1,5 +1,5 @@  - + $(MSBuildExtensionsPath)\nanoFramework\v1.0\ @@ -17,6 +17,8 @@ v1.0 True bin\$(Configuration)\nanoFramework.Device.OneWire.xml + true + true true diff --git a/nanoFramework.Device.OneWire/packages.config b/nanoFramework.Device.OneWire/packages.config index d4317dd..c07c02d 100644 --- a/nanoFramework.Device.OneWire/packages.config +++ b/nanoFramework.Device.OneWire/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/nanoFramework.Device.OneWire/packages.lock.json b/nanoFramework.Device.OneWire/packages.lock.json new file mode 100644 index 0000000..59f148d --- /dev/null +++ b/nanoFramework.Device.OneWire/packages.lock.json @@ -0,0 +1,19 @@ +{ + "version": 1, + "dependencies": { + ".NETnanoFramework,Version=v1.0": { + "nanoFramework.CoreLibrary": { + "type": "Direct", + "requested": "[1.12.0, 1.12.0]", + "resolved": "1.12.0", + "contentHash": "qQrFNXmJiStMC4VXk5cVMOJp23/qlT9FW5i9i+igwQVwraQTtvpkam8yK1hj992jqrbjoCIFZP4Hw9E8H0pB7w==" + }, + "Nerdbank.GitVersioning": { + "type": "Direct", + "requested": "[3.4.255, 3.4.255]", + "resolved": "3.4.255", + "contentHash": "7aJa6+VzdKNDVJqGIWGtvIDh2HsIx8DIDfUg4yWViXc798awhSohPMk1oiAZqSntnrKThKJtn4vAMRdsCj8dtg==" + } + } + } +} \ No newline at end of file