Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IEvangelist committed Apr 30, 2024
1 parent 6dc3d7c commit 5108c52
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Build"
description: "A build GitHub Action composite shared workflow."

inputs:
upload-artifacts:
Expand Down Expand Up @@ -35,4 +36,4 @@ runs:
- name: Test
if: inputs.run-tests == 'true'
shell: bash
run: dotnet test --configuration Release --no-restore
run: dotnet test --configuration Release --no-restore --filter "Category!=RequiresEnvVar"
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
build:
name: build-${{matrix.os}}
runs-on: ${{ matrix.os }}
env:
DOTNET_CLI_TELEMETRY_OPTOUT: '1'
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
Expand Down
2 changes: 2 additions & 0 deletions dotnet-github-actions-sdk.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{9A70F58D-F8A7-4AAE-A34C-3E7AE2BF246D}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.github\actions\build\action.yml = .github\actions\build\action.yml
.github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml
.github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
Directory.Build.props = Directory.Build.props
Directory.Packages.props = Directory.Packages.props
global.json = global.json
LICENSE = LICENSE
PACKAGES.md = PACKAGES.md
.github\workflows\publish-nuget.yml = .github\workflows\publish-nuget.yml
Expand Down
7 changes: 5 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"sdk": {
"version": "8.0.0",
"rollForward": "latestFeature"
"version": "8.0.200",
"rollForward": "major"
},
"tools": {
"dotnet": "8.0.200"
}
}
1 change: 1 addition & 0 deletions tests/Actions.HttpClient.Tests/AuthTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace Actions.HttpClient.Tests;

[Trait("Category", "RequiresEnvVar")]
public class AuthTests
{
public AuthTests()
Expand Down
1 change: 1 addition & 0 deletions tests/Actions.HttpClient.Tests/ProxyTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace Actions.HttpClient.Tests;

[Trait("Category", "RequiresEnvVar")]
public sealed class ProxyTests : IDisposable
{
public ProxyTests()
Expand Down

0 comments on commit 5108c52

Please sign in to comment.