Skip to content

Commit

Permalink
fix build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Klawitter committed Jul 18, 2024
1 parent 183731b commit e2ec6f7
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.22' # The Go version to download (if necessary) and use.

# - name: build k6
# container:
# - name: build k6 v2
# uses: addnab/docker-run-action@v3
# with:
# image: grafana/xk6
# volumes:
# - ${pwd}:/xk6
# options: --rm -it -u "$(id -u):$(id -g)" -v "${PWD}:/xk6"
# run: build --with github.com/LeonAdato/xk6-output-statsd

- name: build k6 v2
uses: addnab/docker-run-action@v3
with:
image: grafana/xk6
options: --rm -v ${{ github.workspace }}:/xk6 -u $(id -u):$(id -g)
run: |
xk6 build --with github.com/LeonAdato/xk6-output-statsd
# options: --rm -v ${{ github.workspace }}:/xk6 -u $(id -u):$(id -g)
# run: |
# xk6 build --with github.com/LeonAdato/xk6-output-statsd

0 comments on commit e2ec6f7

Please sign in to comment.