Skip to content
Merged
12 changes: 4 additions & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,16 @@
}
},

// Do not change the formatting of this property, it is used by renovate regex to detect versions
"features": {
"ghcr.io/devcontainers/features/github-cli:1": { "version": "2.72.0" },
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/go:1": {
"version": "1.25",
"golangciLintVersion": "2.6.1"
},
"ghcr.io/devcontainers/features/go:1": { "version": "1.25", "golangciLintVersion": "2.6.1" },
"ghcr.io/guiyomh/features/goreleaser:0": { "version": "2.12.7" },
"ghcr.io/guiyomh/features/gotestsum:0": { "version": "1.12.1" },
"ghcr.io/szkiba/devcontainer-features/gosec:1": { "version": "2.22.10" },
"ghcr.io/szkiba/devcontainer-features/govulncheck:1": {
"version": "1.1.4"
},
"ghcr.io/szkiba/devcontainer-features/bats:1": { "version": "1.11.1" },
"ghcr.io/szkiba/devcontainer-features/govulncheck:1": { "version": "1.1.4" },
"ghcr.io/szkiba/devcontainer-features/bats:1": { "version": "1.13.0" },
"ghcr.io/szkiba/devcontainer-features/cdo:1": { "version": "0.1.2" },
"ghcr.io/szkiba/devcontainer-features/mdcode:1": { "version": "0.2.0" },
"ghcr.io/devcontainers-extra/features/eget:1": { "version": "1.3.4" }
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/extension-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,11 @@ jobs:
if: ${{ inputs.bats != '' && runner.os == 'Linux' }}
uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1
with:
bats-version: "1.11.1"
bats-version: "1.13.0"
support-install: false
assert-install: false
detik-install: false
file-install: false

- name: Setup xk6 ${{ inputs.xk6-version }}
uses: grafana/setup-xk6@92356c2715efc0f13876e324b2b05d8ea26c4e59 # v1.1.0
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/extension-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,12 @@ jobs:
if: ${{ inputs.bats != '' && runner.os == 'Linux' }}
uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1
with:
bats-version: "1.11.1"
bats-version: "1.13.0"
support-install: false
assert-install: false
detik-install: false
file-install: false


- name: Setup xk6 ${{ inputs.xk6-version }}
uses: grafana/setup-xk6@92356c2715efc0f13876e324b2b05d8ea26c4e59 # v1.1.0
Expand Down Expand Up @@ -464,7 +469,7 @@ jobs:

- name: Config
run: |
cat .devcontainer/devcontainer.json | jq -r '
cat .devcontainer/devcontainer.json | sed 's/^ *\/\/.*//' | jq -r '
{
GO_VERSION: .features["ghcr.io/devcontainers/features/go:1"]["version"],
GOLANGCI_LINT_VERSION: .features["ghcr.io/devcontainers/features/go:1"]["golangciLintVersion"]
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
integration:
name: Integration
runs-on: ubuntu-latest
env:
GORELEASER_VERSION: "2.8.2"
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
Expand All @@ -27,13 +29,17 @@ jobs:
- name: GoReleaser build
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
with:
version: "2.8.2"
version: ${{ env.GORELEASER_VERSION }}
args: build --clean --snapshot --single-target --id xk6

- name: Setup Bats
uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1
with:
bats-version: "1.11.1"
bats-version: "1.13.0"
support-install: false
assert-install: false
detik-install: false
file-install: false

- name: Setup govulncheck
env:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/liveness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ jobs:
uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1
with:
bats-version: "1.13.0"
support-install: false
assert-install: false
detik-install: false
file-install: false

- name: Change integration test artifact
if: ${{ needs.config.outputs.xk6-it-version != 'submodule' }}
Expand Down Expand Up @@ -200,6 +204,10 @@ jobs:
uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1
with:
bats-version: "1.13.0"
support-install: false
assert-install: false
detik-install: false
file-install: false

- name: Pull Docker image
shell: bash
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tooling-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ jobs:
if: ${{ inputs.bats != '' && runner.os == 'Linux' }}
uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1
with:
bats-version: "1.11.1"
bats-version: "1.13.0"
support-install: false
assert-install: false
detik-install: false
file-install: false

- name: GoReleaser snapshot
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/tooling-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,11 @@ jobs:
if: ${{ inputs.bats != '' && runner.os == 'Linux' }}
uses: bats-core/bats-action@42fcc8700f773c075a16a90eb11674c0318ad507 # 3.0.1
with:
bats-version: "1.11.1"
bats-version: "1.13.0"
support-install: false
assert-install: false
detik-install: false
file-install: false

- name: GoReleaser build
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
Expand Down Expand Up @@ -300,7 +304,7 @@ jobs:

- name: Config
run: |
cat .devcontainer/devcontainer.json | jq -r '
cat .devcontainer/devcontainer.json | sed 's/^ *\/\/.*//' | jq -r '
{
GO_VERSION: .features["ghcr.io/devcontainers/features/go:1"]["version"],
GOLANGCI_LINT_VERSION: .features["ghcr.io/devcontainers/features/go:1"]["golangciLintVersion"],
Expand Down
Loading
Loading