Skip to content

Commit

Permalink
* upgrade JetBrains.ReSharper.GlobalTools to 2024.* to fix dotnet…
Browse files Browse the repository at this point in the history
…/roslyn#73508 @ c#.yml

* now `runs-on` all github hosted runners
@ .github/workflows
  • Loading branch information
n0099 committed Jun 13, 2024
1 parent afec68f commit 61895d1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/be.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ defaults:
working-directory: be
jobs:
phpstan:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/be
- run: ./vendor/bin/phpstan analyse --error-format=github

psalm:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/be
- run: ./vendor/bin/psalm --output-format=github

phpcs:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/be
Expand All @@ -32,7 +32,7 @@ jobs:

# https://github.com/staabm/annotate-pull-request-from-checkstyle
pint:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/be
Expand All @@ -42,14 +42,14 @@ jobs:
run: ./vendor/bin/pint --test --format=checkstyle | cs2pr

php-cs-fixer:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/be
- run: ./vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle . | cs2pr

phpmd:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/be
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/c#.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defaults:
working-directory: c#
jobs:
build:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
strategy:
matrix:
project: [crawler, imagePipeline, shared, tbClient]
Expand All @@ -20,7 +20,7 @@ jobs:
- run: dotnet build --no-restore -c Release ${{ matrix.project }}

ReSharper:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
Expand All @@ -38,6 +38,7 @@ jobs:

- uses: muno92/resharper_inspectcode@v1
with:
version: 2024.*
minimumReportSeverity: info
minimumSeverity: warning
solutionPath: c#/tbm.sln
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ defaults:
working-directory: fe
jobs:
tsc:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/fe
- run: yarn run vue-tsc

eslint:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/fe
- run: yarn run eslint src

codechecks:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps: # contains CVE that triggers Dependabot
- uses: actions/checkout@v4
- uses: ./.github/actions/fe
Expand Down

0 comments on commit 61895d1

Please sign in to comment.