Skip to content
Merged
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
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,10 @@ on:

env:
# Common versions
GO_VERSION: '1.23.1'
GOLANGCI_VERSION: 'v1.61.0'
GO_VERSION: '1.24.9'
GOLANGCI_VERSION: 'v2.4.0'
DOCKER_BUILDX_VERSION: 'v0.24.0'

# These environment variables are important to the Crossplane CLI install.sh
# script. They determine what version it installs.
XP_CHANNEL: stable
XP_VERSION: v1.20.0

# The package to push, without a version tag. The default matches GitHub. For
# example xpkg.crossplane.io/crossplane/function-template-go. Note that
# xpkg.crossplane.io is just an alias for ghcr.io, so we upload to ghcr.io but
Expand All @@ -49,7 +44,7 @@ jobs:
run: go mod tidy && git diff --exit-code go.mod go.sum

- name: Lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v7
with:
version: ${{ env.GOLANGCI_VERSION }}

Expand Down Expand Up @@ -126,6 +121,7 @@ jobs:
# This job downloads the single-platform packages built by the build job, and
# pushes them as a multi-platform package.
push:
if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-24.04
needs:
- build
Expand Down
Loading