Skip to content

Commit

Permalink
Update workflows (open-telemetry#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
utpilla authored Mar 11, 2022
1 parent 53d9466 commit 6ee3914
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: dotnet format

on:
push:
branches: [ main ]
paths:
- '**.cs'
- '.editorconfig'
pull_request:
branches: [ main ]
paths:
Expand All @@ -15,10 +20,10 @@ jobs:
- name: check out code
uses: actions/checkout@v2

- name: Setup .NET Core 3.1
- name: Setup .NET Core 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
dotnet-version: 6.0.x

- name: Install format tool
run: dotnet tool install -g dotnet-format
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: markdownlint

on:
push:
branches: [ main ]
paths:
- '**.md'
pull_request:
branches: [ main ]
paths:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sanitycheck.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: sanitycheck

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

Expand Down

0 comments on commit 6ee3914

Please sign in to comment.