From 82efdd8f7092bdc22bfa17a56031218be0a95d36 Mon Sep 17 00:00:00 2001 From: Marcos Cruz Date: Wed, 30 Oct 2024 17:24:00 -0300 Subject: [PATCH] fix dotnet version in ci-tests --- .github/workflows/ci-build.yml | 3 +-- .github/workflows/ci-tests.yml | 45 +++++++++++++++++----------------- 2 files changed, 23 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index bdc441e..c3127f6 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -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. diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index b670dfb..78965d8 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -14,7 +14,6 @@ jobs: # Linux, Windows e MacOs # tests: - runs-on: ${{ matrix.os }} strategy: matrix: @@ -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