Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriciDmarc authored Aug 24, 2023
2 parents 494a5c7 + fd1f00f commit cd0c25b
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.25.0",
"commands": [
"dotnet-csharpier"
]
}
}
}
26 changes: 26 additions & 0 deletions .github/workflows/lint-csharp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: C# linting

on:
workflow_dispatch:
pull_request:

jobs:

csharp-lint:
runs-on: ubuntu-latest

steps:

- name: Checkout repo
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3

- name: .NET restore
run: dotnet tool restore

- name: CSharpier format check
run: |
dotnet csharpier . --check
echo "run 'dotnet build' to fix the formatting of the code automatically"
12 changes: 12 additions & 0 deletions .github/workflows/size-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Label based on PR size

on:
pull_request:
pull_request_target:
workflow_dispatch:

jobs:
size-label:
Expand All @@ -11,6 +13,16 @@ jobs:
steps:

- name: size-label
if: >-
(
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository
) || (
github.event_name == 'pull_request_target' &&
github.event.pull_request.head.repo.full_name != github.repository
) || (
github.event_name == 'workflow_dispatch'
)
uses: "pascalgn/size-label-action@v0.5.0"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
14 changes: 7 additions & 7 deletions examples/emberjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/emberjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@
"edition": "octane"
},
"dependencies": {
"bancos-brasileiros": "^5.0.9"
"bancos-brasileiros": "^5.0.12"
}
}

0 comments on commit cd0c25b

Please sign in to comment.