Skip to content

Commit

Permalink
v3 -> v4, sync with master
Browse files Browse the repository at this point in the history
  • Loading branch information
mpreyskurantov committed Feb 18, 2025
1 parent 3d2151f commit 7cd63a6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
7 changes: 3 additions & 4 deletions .github/actions/dotnet-test-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ runs:
using: "composite"

steps:
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-quality: ga
dotnet-version: |
6.0
7.0
8.0
9.0.x
9.0
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
key: ${{ runner.os }}-nuget-${{ hashFiles('net/**/*.csproj') }}
restore-keys: ${{ runner.os }}-nuget-
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- run: git config --global core.autocrlf true
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: curl -L https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.3.5/ec-linux-amd64.tar.gz | tar xzf - -C /opt
- run: /opt/bin/ec-linux-amd64 -v
Expand All @@ -46,7 +46,7 @@ jobs:
- '>=23.1.0'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: node build/make-nojquery

Expand All @@ -69,15 +69,15 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: nuget install -Verbosity quiet -ExcludeVersion -OutputDirectory . -Version 2022.2.3 JetBrains.dotCover.CommandLineTools

- uses: ./.github/actions/dotnet-test-build

- run: JetBrains.dotCover.CommandLineTools\tools\dotCover cover --ReturnTargetExitCode --ReportType=DetailedXML --Filters="+:module=DevExtreme.AspNet.Data" --Output=coverage_dotnet.xml --TargetExecutable=net\dotnet-test-all.cmd

- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
files: coverage_dotnet.xml

Expand All @@ -86,19 +86,22 @@ jobs:

env:
RELEASE_KEY_SECRET: ${{ secrets.RELEASE_KEY_SECRET }}
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1

steps:
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-quality: ga
dotnet-version: |
3.1
6.0
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- if: ${{ env.RELEASE_KEY_SECRET != '' }}
run: |
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb
curl -L -o /opt/secure-file.zip https://github.com/appveyor/secure-file/releases/download/1.0.1/secure-file.zip
unzip /opt/secure-file.zip -d /opt/secure-file
dotnet /opt/secure-file/secure-file.dll -decrypt net/DevExtreme.AspNet.Data/release.snk.enc -secret ${{ env.RELEASE_KEY_SECRET }}
Expand All @@ -112,7 +115,7 @@ jobs:
- if: ${{ env.RELEASE_KEY_SECRET != '' }}
run: dotnet pack net/DevExtreme.AspNet.Data --configuration=Release --include-symbols

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: release-packages
path: |
Expand All @@ -123,12 +126,12 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: dotnet build net/DevExtreme.AspNet.Data
- run: net\docfx\build.cmd

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: docfx-site
path: net/docfx/build/site
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down

0 comments on commit 7cd63a6

Please sign in to comment.