From 3b1697173ac9854ab72ad2b574c96bb34e57a705 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Tue, 7 Feb 2023 14:05:26 +0800 Subject: [PATCH] Fix build (#283) --- .github/workflows/release.yaml | 2 -- .github/workflows/test.yaml | 2 -- semaphore_test.go | 4 ---- 3 files changed, 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 78dc128f..4422997c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,8 +6,6 @@ on: jobs: release: runs-on: ubuntu-latest - container: - image: golang steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index dfed584e..4ccb0d68 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,8 +7,6 @@ on: jobs: test: runs-on: ubuntu-latest - container: - image: golang steps: - uses: actions/checkout@v3 - run: go build diff --git a/semaphore_test.go b/semaphore_test.go index c5a199e3..4627be37 100644 --- a/semaphore_test.go +++ b/semaphore_test.go @@ -6,10 +6,6 @@ import ( "github.com/stretchr/testify/assert" ) -func TestNewSemaphore(t *testing.T) { - newSemaphore(1) -} - func TestSemaphoreRequest(t *testing.T) { s := newSemaphore(1)