Skip to content

Commit

Permalink
fix dotnet version in ci-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-cruz committed Oct 30, 2024
1 parent 011a425 commit 82efdd8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 25 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
#os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ubuntu-latest, windows-latest, macOS-latest]

#
# Sequencia de execução das tarefas do job.
Expand Down
45 changes: 22 additions & 23 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
# Linux, Windows e MacOs
#
tests:

runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -24,25 +23,25 @@ jobs:
# Sequencia de execução das tarefas do job.
#
steps:
#
# Checkout o repositório para poder ter acesso a ele.
#
- uses: actions/checkout@v2
#
# Configura os pacotes nas versões necessárias
#
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.401
#
# Instala todas as depedências do projeto.
#
- name: Install dependencies
run: dotnet restore
#
# Executa todos os testes do projeto.
#
- name: Test
# run: dotnet test --no-restore --verbosity normal
run: dotnet test --configuration Release
#
# Checkout o repositório para poder ter acesso a ele.
#
- uses: actions/checkout@v2
#
# Configura os pacotes nas versões necessárias
#
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
#
# Instala todas as depedências do projeto.
#
- name: Install dependencies
run: dotnet restore
#
# Executa todos os testes do projeto.
#
- name: Test
# run: dotnet test --no-restore --verbosity normal
run: dotnet test --configuration Release

0 comments on commit 82efdd8

Please sign in to comment.