Skip to content

Commit

Permalink
try different access to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
CubicrootXYZ committed Aug 11, 2024
1 parent ddc6817 commit 554a7a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/golang_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ on:

jobs:
test:
needs: ${{ fromJSON(inputs.needs) }}
needs: ${{ fromJSON(github.event.inputs.needs) }}
runs-on: ubuntu-latest
if: "!startsWith(github.ref, 'refs/tags/')"
container:
image: golang:1.22.5-alpine3.20
options: --user root
services: ${{ fromJSON(inputs.services) }}
env: ${{ fromJSON(inputs.env) }}
services: ${{ fromJSON(github.event.inputs.services) }}
env: ${{ fromJSON(github.event.inputs.env) }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Run tests
run: go test -cover -race ./...
run: go test -cover -race ${{ inputs.workdir }}...

0 comments on commit 554a7a6

Please sign in to comment.