[GH-ISSUE #5862] Cloning of gradle/actions/setup-gradle@v4 fails #1269

Open
opened 2026-03-01 21:50:03 +03:00 by kerem · 2 comments
Owner

Originally created by @datenimperator on GitHub (Jul 1, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/5862

Bug report info

act version:            0.2.79
GOOS:                   linux
GOARCH:                 amd64
NumCPU:                 14
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
	/var/run/docker.sock
Config files:           
	/home/<REDACTED>/.config/act/actrc:
		-P ubuntu-latest=catthehacker/ubuntu:act-latest
		-P ubuntu-22.04=catthehacker/ubuntu:act-22.04
		-P ubuntu-20.04=catthehacker/ubuntu:act-20.04
		-P ubuntu-18.04=catthehacker/ubuntu:act-18.04
Build info:
	Go version:            go1.24.4
	Module path:           github.com/nektos/act
	Main version:          v0.2.79
	Main path:             github.com/nektos/act
	Main checksum:         
	Build settings:
		-buildmode:           exe
		-compiler:            gc
		-ldflags:             -s -w -X main.version=0.2.79 -X main.commit=7e222458599834177345c7b4871f648ba8b62715 -X main.date=2025-07-01T02:46:33Z -X main.builtBy=goreleaser
		CGO_ENABLED:          0
		GOARCH:               amd64
		GOOS:                 linux
		GOAMD64:              v1
		vcs:                  git
		vcs.revision:         7e222458599834177345c7b4871f648ba8b62715
		vcs.time:             2025-07-01T02:46:18Z
		vcs.modified:         false
Docker Engine:
	Engine version:        28.3.0
	Engine runtime:        runc
	Cgroup version:        2
	Cgroup driver:         systemd
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Linux Mint 22.1
	OS type:               linux
	OS version:            22.1
	OS arch:               x86_64
	OS kernel:             6.11.0-29-generic
	OS CPU:                14
	OS memory:             31544 MB
	Security options:
		name=apparmor
		name=seccomp,profile=builtin
		name=cgroupns

Command used with act

act -W .gitea/workflows push

Describe issue

Version v4 can't be cloned, while v3 can. Using a more specific v4 version tag doesn't help, either.

No response

Workflow content

name: Build and check
on: [ push ]

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

      - name: Set up JDK 21 for x64
        uses: actions/setup-java@v4
        with:
          java-version: '21'
          distribution: 'temurin'

      - name: Setup Gradle
        uses: gradle/actions/setup-gradle@v4

      - name: Run tests
        run: ./gradlew test

Relevant log output

[Build and check/build]   ☁  git clone 'https://github.com/gradle/actions' # ref=v4
[Build and check/build] [DEBUG]   cloning https://github.com/gradle/actions to /home/<REDACTED>/.cache/act/gradle-actions-setup-gradle@v4
[Build and check/build] Unable to resolve v4: unsupported object type
[Build and check/build] Unable to resolve v4: unsupported object type
[Build and check/build] unsupported object type

Additional information

No response

Originally created by @datenimperator on GitHub (Jul 1, 2025). Original GitHub issue: https://github.com/nektos/act/issues/5862 ### Bug report info ```plain text act version: 0.2.79 GOOS: linux GOARCH: amd64 NumCPU: 14 Docker host: DOCKER_HOST environment variable is not set Sockets found: /var/run/docker.sock Config files: /home/<REDACTED>/.config/act/actrc: -P ubuntu-latest=catthehacker/ubuntu:act-latest -P ubuntu-22.04=catthehacker/ubuntu:act-22.04 -P ubuntu-20.04=catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=catthehacker/ubuntu:act-18.04 Build info: Go version: go1.24.4 Module path: github.com/nektos/act Main version: v0.2.79 Main path: github.com/nektos/act Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -s -w -X main.version=0.2.79 -X main.commit=7e222458599834177345c7b4871f648ba8b62715 -X main.date=2025-07-01T02:46:33Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: linux GOAMD64: v1 vcs: git vcs.revision: 7e222458599834177345c7b4871f648ba8b62715 vcs.time: 2025-07-01T02:46:18Z vcs.modified: false Docker Engine: Engine version: 28.3.0 Engine runtime: runc Cgroup version: 2 Cgroup driver: systemd Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Linux Mint 22.1 OS type: linux OS version: 22.1 OS arch: x86_64 OS kernel: 6.11.0-29-generic OS CPU: 14 OS memory: 31544 MB Security options: name=apparmor name=seccomp,profile=builtin name=cgroupns ``` ### Command used with act ```sh act -W .gitea/workflows push ``` ### Describe issue Version v4 can't be cloned, while v3 can. Using a more specific v4 version tag doesn't help, either. ### Link to GitHub repository _No response_ ### Workflow content ```yml name: Build and check on: [ push ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Set up JDK 21 for x64 uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin' - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Run tests run: ./gradlew test ``` ### Relevant log output ```sh [Build and check/build] ☁ git clone 'https://github.com/gradle/actions' # ref=v4 [Build and check/build] [DEBUG] cloning https://github.com/gradle/actions to /home/<REDACTED>/.cache/act/gradle-actions-setup-gradle@v4 [Build and check/build] Unable to resolve v4: unsupported object type [Build and check/build] Unable to resolve v4: unsupported object type [Build and check/build] unsupported object type ``` ### Additional information _No response_
Author
Owner

@nbransby commented on GitHub (Nov 10, 2025):

no solution to this yet?

<!-- gh-comment-id:3511093729 --> @nbransby commented on GitHub (Nov 10, 2025): no solution to this yet?
Author
Owner

@Souipi commented on GitHub (Nov 29, 2025):

up ?

<!-- gh-comment-id:3591371899 --> @Souipi commented on GitHub (Nov 29, 2025): up ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1269
No description provided.