Skip to content

Inconsistent results when using multiple runners in a matrix #5971

@syan212

Description

@syan212

Bug report info

act version:            0.2.82
GOOS:                   linux
GOARCH:                 amd64
NumCPU:                 14
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        /var/run/docker.sock
Config files:
        /home/syan235711/.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.0
        Module path:           github.com/nektos/act
        Main version:          v0.2.82
        Main path:             github.com/nektos/act
        Main checksum:
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -s -w -X main.version=0.2.82 -X main.commit=3d71542867d7cbdac6a75e540be6f64362e94de2 -X main.date=2025-10-01T02:36:39Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 linux
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         3d71542867d7cbdac6a75e540be6f64362e94de2
                vcs.time:             2025-10-01T02:36:13Z
                vcs.modified:         false
Docker Engine:
        Engine version:        28.5.1
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         cgroupfs
        Storage driver:        overlayfs
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:
        OS arch:               x86_64
        OS kernel:             6.6.87.2-microsoft-standard-WSL2
        OS CPU:                14
        OS memory:             15742 MB
        Security options:
                name=seccomp,profile=builtin
                name=cgroupns

Command used with act

act

Describe issue

Sometimes it works, but other times it fails and reports that all 3 runners are unsupported, despite ubuntu clearly being supported. This seems to be a slightly bigger issue with some larger workflows

Link to GitHub repository

No response

Workflow content

name: Inconsistent results

on:
  push:
    branches:
      - main


jobs:
  Job:
    runs-on: ${{ matrix.platform }}
    strategy:
      matrix:
        platform: [windows-latest, macos-latest, ubuntu-latest]

    steps:
      - name: Sometimes works
        run: |
          echo "Worked"

Relevant log output

When it fails:

[Inconsistent results/Job-1] 🚧  Skipping unsupported platform -- Try running with `-P windows-latest=...`
[Inconsistent results/Job-3] 🚧  Skipping unsupported platform -- Try running with `-P windows-latest=...`
[Inconsistent results/Job-2] 🚧  Skipping unsupported platform -- Try running with `-P macos-latest=...`

When it succeeds:

[Inconsistent results/Job-3] ⭐ Run Set up job
[Inconsistent results/Job-2] 🚧  Skipping unsupported platform -- Try running with `-P ubuntu-latest=...`
[Inconsistent results/Job-1] 🚧  Skipping unsupported platform -- Try running with `-P ubuntu-latest=...`
[Inconsistent results/Job-3] 🚀  Start image=catthehacker/ubuntu:act-latest
[Inconsistent results/Job-3]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions