***NO_CI***
This commit is contained in:
José Simões 2022-10-24 13:39:40 +01:00 коммит произвёл GitHub
Родитель c815f3befe
Коммит a345768266
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
9 изменённых файлов: 60 добавлений и 34 удалений

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.Hardware.TI.sln'

20
.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
update-dependencies:
name: nanoFramework
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
with:
solutionsToCheck: 'nanoFramework.Hardware.TI.sln'
secrets:
githubAuth: ${{ secrets.NFBOT_GITHUB_ACTIONS }}

Просмотреть файл

@ -1,4 +1,4 @@
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.Hardware.TI&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.Hardware.TI) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.Hardware.TI&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.Hardware.TI) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.Hardware.TI.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.Hardware.TI/) [![#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)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.Hardware.TI&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.Hardware.TI) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoFramework.Hardware.TI&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoFramework.Hardware.TI) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.Hardware.TI.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.Hardware.TI/) [![#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)

Просмотреть файл

@ -51,7 +51,6 @@ steps:
# all build, update and publish steps
- template: azure-pipelines-templates/class-lib-build.yml@templates
parameters:
classLibName: $(nugetPackageName)
sonarCloudProject: 'nanoframework_lib-nanoFramework.Hardware.TI'
# step from template @ nf-tools repo

Просмотреть файл

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>nanoFramework.Hardware.TI</id>
<version>$version$</version>
<title>nanoFramework.Hardware.TI</title>
<authors>nanoFramework</authors>
<authors>nanoframework</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE.md</license>
<releaseNotes>

Просмотреть файл

@ -1,9 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28010.2046
# Visual Studio Version 17
VisualStudioVersion = 17.3.32929.385
MinimumVisualStudioVersion = 10.0.40219.1
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "nanoFramework.Hardware.TI", "nanoFramework.Hardware.TI\nanoFramework.Hardware.TI.nfproj", "{918b26f0-442f-46ad-a03e-274f5b315ed5}"
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "nanoFramework.Hardware.TI", "nanoFramework.Hardware.TI\nanoFramework.Hardware.TI.nfproj", "{918B26F0-442F-46AD-A03E-274F5B315ED5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DDA58EDA-BA28-4DD5-8E4A-8240C3EA68FE}"
ProjectSection(SolutionItems) = preProject
@ -18,12 +17,12 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{918b26f0-442f-46ad-a03e-274f5b315ed5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{918b26f0-442f-46ad-a03e-274f5b315ed5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{918b26f0-442f-46ad-a03e-274f5b315ed5}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{918b26f0-442f-46ad-a03e-274f5b315ed5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{918b26f0-442f-46ad-a03e-274f5b315ed5}.Release|Any CPU.Build.0 = Release|Any CPU
{918b26f0-442f-46ad-a03e-274f5b315ed5}.Release|Any CPU.Deploy.0 = Release|Any CPU
{918B26F0-442F-46AD-A03E-274F5B315ED5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{918B26F0-442F-46AD-A03E-274F5B315ED5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{918B26F0-442F-46AD-A03E-274F5B315ED5}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{918B26F0-442F-46AD-A03E-274F5B315ED5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{918B26F0-442F-46AD-A03E-274F5B315ED5}.Release|Any CPU.Build.0 = Release|Any CPU
{918B26F0-442F-46AD-A03E-274F5B315ED5}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
</PropertyGroup>
@ -17,6 +17,8 @@
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
<DocumentationFile>bin\$(Configuration)\nanoFramework.Hardware.TI.xml</DocumentationFile>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="nanoFramework.CoreLibrary" version="1.12.0" targetFramework="netnanoframework10" />
<package id="Nerdbank.GitVersioning" version="3.1.91" developmentDependency="true" targetFramework="netnanoframework10" />
<package id="nanoFramework.CoreLibrary" version="1.12.0" targetFramework="netnano1.0" />
<package id="Nerdbank.GitVersioning" version="3.1.91" developmentDependency="true" targetFramework="netnano1.0" />
</packages>

Просмотреть файл

@ -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.1.91, 3.1.91]",
"resolved": "3.1.91",
"contentHash": "eQI9TrHjxDtM4eUtl8zCAT5DGtQgZ6mpRd/qkHBEWUeLK/cn1wXnTdJ/6ffs5tlFDP1mEmGHc//wUzFdfr4Eiw=="
}
}
}
}