Skip to content

Commit

Permalink
Merge pull request #63 from nanoframework/release-v1.1.1
Browse files Browse the repository at this point in the history
release-v1.1.1
  • Loading branch information
josesimoes authored Jul 15, 2021
2 parents 49301cf + 773d591 commit 99fb869
Show file tree
Hide file tree
Showing 32 changed files with 938 additions and 289 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Copyright (c) .NET Foundation and Contributors
# See LICENSE file in the project root for full license information.

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

name: Daily update dependencies

on:
schedule:
# At 00:00 UTC every day.
- cron: '00 00 * * *'
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
steps:
- name: Checkout
uses: actions/[email protected]
with:
path: main
- name: Checkout tools repo
uses: actions/[email protected]
with:
repository: nanoframework/nf-tools
path: tools
- name: Update dependencies
run: ./github-actions/update-nf-dependencies.ps1
working-directory: tools
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
if: env.CREATE_PR == 'true'
with:
title: '${{ env.PR_TITLE }}'
body: |
${{ env.PR_MESSAGE }}
[version update]
### :warning: This is an automated update. :warning:
committer: 'nfbot <[email protected]>'
branch: ${{ env.BRANCH_NAME }}
path: main
labels: |
Type: dependencies
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
user=nanoframework
project=lib-nanoFramework.System.Text
project=System.Text
issues=true
add_issues_wo_labels=false
add_pr_wo_labels=false
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,5 @@ paket-files/

#SoundCloud
*.sonarqube/
*.slconfig
*.ruleset
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<AnalysisInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Settings>
<Setting>
<Key>sonar.cs.analyzeGeneratedCode</Key>
<Value>false</Value>
</Setting>
<Setting>
<Key>sonar.cs.file.suffixes</Key>
<Value>.cs</Value>
</Setting>
<Setting>
<Key>sonar.cs.ignoreHeaderComments</Key>
<Value>true</Value>
</Setting>
<Setting>
<Key>sonar.cs.roslyn.ignoreIssues</Key>
<Value>false</Value>
</Setting>
</Settings>
<Rules>
<Rule>
<Key>S107</Key>
<Parameters>
<Parameter>
<Key>max</Key>
<Value>7</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S110</Key>
<Parameters>
<Parameter>
<Key>max</Key>
<Value>5</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S1479</Key>
<Parameters>
<Parameter>
<Key>maximum</Key>
<Value>30</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S2342</Key>
<Parameters>
<Parameter>
<Key>flagsAttributeFormat</Key>
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$</Value>
</Parameter>
<Parameter>
<Key>format</Key>
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S2436</Key>
<Parameters>
<Parameter>
<Key>max</Key>
<Value>2</Value>
</Parameter>
<Parameter>
<Key>maxMethod</Key>
<Value>3</Value>
</Parameter>
</Parameters>
</Rule>
<Rule>
<Key>S3776</Key>
<Parameters>
<Parameter>
<Key>propertyThreshold</Key>
<Value>3</Value>
</Parameter>
<Parameter>
<Key>threshold</Key>
<Value>15</Value>
</Parameter>
</Parameters>
</Rule>
</Rules>
</AnalysisInput>
Loading

0 comments on commit 99fb869

Please sign in to comment.