Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
10 changes: 5 additions & 5 deletions .github/workflows/build_artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
build:
runs-on: [ ubuntu-latest ]
runs-on: [ubuntu-latest]

concurrency:
# Cancel intermediate builds
Expand All @@ -22,26 +22,26 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4

- name: Go
uses: ./.github/workflows/composite/go

- name: Build
run: make clean lint prepare build pack

- name: Environment
run: |
echo "GOARCH=$(go env GOARCH)" >> $GITHUB_ENV
echo "GOOS=$(go env GOOS)" >> $GITHUB_ENV
echo "BRANCH=$(echo ${{ github.ref_name }} | tr -C '[a-z0-9-\n]' '_')" >> $GITHUB_ENV

- name: Upload Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4
with:
name: k6-${{env.GOARCH}}-${{env.GOOS}}-${{ env.BRANCH }}.tar.gz
path: ./bin/*.tar.gz
if-no-files-found: warn
overwrite: true
retention-days: 3 # we need it just for releases
retention-days: 3 # we need it just for releases
compression-level: 0 # this is already a gzipped archive
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
verify:
runs-on: [ ubuntu-latest ]
runs-on: [ubuntu-latest]

concurrency:
# Cancel intermediate builds
Expand All @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4

- name: Go
uses: ./.github/workflows/composite/go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/composite/go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ runs:
using: composite
steps:
- name: Setup Go
uses: actions/setup-go@v5
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # ratchet:actions/setup-go@v5
with:
go-version: '1.22'

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # ratchet:golangci/golangci-lint-action@v6
with:
version: v1.58.2
args: --verbose --concurrency=2 --timeout=600s
Expand Down