diff --git a/.github/workflows/go_build.yml b/.github/workflows/go_build.yml index 1500ec4..97f0473 100644 --- a/.github/workflows/go_build.yml +++ b/.github/workflows/go_build.yml @@ -20,8 +20,10 @@ jobs: - name: Install dependencies run: | - go get ${{ inputs.working-directory }} + cd ${{ inputs.working-directory }} + go get - name: Build run: | - go build ${{ inputs.working-directory }} \ No newline at end of file + cd ${{ inputs.working-directory }} + go build . \ No newline at end of file diff --git a/.github/workflows/go_test.yml b/.github/workflows/go_test.yml index 7d13c38..2e4223d 100644 --- a/.github/workflows/go_test.yml +++ b/.github/workflows/go_test.yml @@ -20,4 +20,10 @@ jobs: - name: Install dependencies run: | - go test ${{ inputs.working-directory }} \ No newline at end of file + cd ${{ inputs.working-directory }} + go get + + - name: Run tests + run: | + cd ${{ inputs.working-directory }} + go test ./... \ No newline at end of file