Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .dagger/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (

const (
GOLANGCILINT_VERSION = "v2.1.2"
GO_VERSION = "1.24.2"
GO_VERSION = "1.24.1"
SYFT_VERSION = "v1.9.0"
GORELEASER_VERSION = "v2.3.2"
GORELEASER_VERSION = "v2.8.2"
)

func New(
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Cache PR Test Pipeline

on:
push:
branches: [main]
tags:
- "v*.*.*"
pull_request:
paths-ignore:
- "*.md"
- "assets/**"


jobs:
ci:
name: Running CI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Dagger Version
uses: sagikazarmark/dagger-version-action@v0.0.1

# - name: Get node version
# id: node
# run: |
# echo "::set-output name=version::$(node -v)"

- name: Get dagger cache
uses: actions/cache@v4
id: dagger_cache
with:
path: |
~/.cache/go-build
~/go/pkg/mod
/var/lib/docker/volumes
key: ${{ runner.os }}-go-simplekeybupd
restore-keys: |
${{ runner.os }}-go-simplekeybupd

- name: Test Release
uses: dagger/dagger-for-github@v7
with:
version: ${{ steps.dagger_version.outputs.version }}
verb: call
args: snapshot-release

### - run: yarn test
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/goharbor/harbor-cli

go 1.24.2
go 1.24.1

require (
github.com/charmbracelet/bubbles v0.21.0
Expand Down
Loading