diff --git a/.github/workflows/dotnet-ci.yml b/.github/workflows/dotnet-ci.yml index da1ec7d2..86f71047 100644 --- a/.github/workflows/dotnet-ci.yml +++ b/.github/workflows/dotnet-ci.yml @@ -34,6 +34,8 @@ jobs: name: Set up Go with: go-version: '^1.22.1' + cache-dependency-path: | + ./**/go.sum - uses: actions/setup-java@v4 name: Set up Java with: diff --git a/.github/workflows/dotnet-main.yml b/.github/workflows/dotnet-main.yml index 1c26c927..9ce627ca 100644 --- a/.github/workflows/dotnet-main.yml +++ b/.github/workflows/dotnet-main.yml @@ -34,6 +34,8 @@ jobs: name: Set up Go with: go-version: '^1.22.1' + cache-dependency-path: | + ./**/go.sum - uses: actions/setup-java@v4 name: Set up Java with: diff --git a/.github/workflows/dotnet-release.yml b/.github/workflows/dotnet-release.yml index 2791b0a8..a915a7ca 100644 --- a/.github/workflows/dotnet-release.yml +++ b/.github/workflows/dotnet-release.yml @@ -38,6 +38,8 @@ jobs: name: Set up Go with: go-version: '^1.22.1' + cache-dependency-path: | + ./**/go.sum - uses: actions/setup-java@v4 name: Set up Java with: diff --git a/tests/Aspire.CommunityToolkit.Hosting.Golang.Tests/AppHostTests.cs b/tests/Aspire.CommunityToolkit.Hosting.Golang.Tests/AppHostTests.cs index faa7c331..436a0d56 100644 --- a/tests/Aspire.CommunityToolkit.Hosting.Golang.Tests/AppHostTests.cs +++ b/tests/Aspire.CommunityToolkit.Hosting.Golang.Tests/AppHostTests.cs @@ -6,16 +6,16 @@ namespace Aspire.CommunityToolkit.Hosting.Golang.Tests; #pragma warning disable CTASPIRE001 public class AppHostTests(AspireIntegrationTestFixture fixture) : IClassFixture> { - [Theory(Skip = "https://github.com/CommunityToolkit/Aspire/issues/85")] - [InlineData("golang")] - public async Task ResourceStartsAndRespondsOk(string appName) + [Fact] + public async Task ResourceStartsAndRespondsOk() { + var appName = "golang"; var httpClient = fixture.CreateHttpClient(appName); - await fixture.App.WaitForTextAsync("Listening and serving HTTP on :8080", appName).WaitAsync(TimeSpan.FromMinutes(2)); + await fixture.App.WaitForTextAsync("Listening and serving HTTP on :8080", appName).WaitAsync(TimeSpan.FromMinutes(5)); var response = await httpClient.GetAsync("/ping"); response.StatusCode.Should().Be(HttpStatusCode.OK); } -} \ No newline at end of file +}