Skip to content

Clean install on macOS via Brew leads to a panicΒ #4

@fbartho

Description

@fbartho
==> Tapping nektos/tap
Cloning into '/usr/local/Homebrew/Library/Taps/nektos/homebrew-tap'...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 6 (delta 0), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (6/6), done.
Tapped 1 formula (32 files, 26.2KB).
==> Installing act from nektos/tap
==> Downloading https://github.com/nektos/act/releases/download/v0.0.3/act_Darwin_x86_64.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/163883279/97b25880-18ac-11e9-8624-e4ce6151ab2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190115%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190115T204420Z
######################################################################## 100.0%
🍺  /usr/local/Cellar/act/0.0.3: 5 files, 13.7MB, built in 6 seconds
πŸ’š  {fb/contexting} ~/Code/TRClient πŸ”₯  act
panic: unquote ""Unit" err: invalid syntax

goroutine 1 [running]:
github.com/hashicorp/hcl/hcl/token.Token.Value(0x9, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc00032c976, 0x7, 0x0, 0x105060d, ...)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/hcl/token/token.go:162 +0x59e
github.com/hashicorp/hcl.(*decoder).decodeString(0xc000203af0, 0xc0003483f0, 0x22, 0x1805ea0, 0xc00035d860, 0x1652e60, 0xc0003741f0, 0x198, 0x0, 0xc000202380)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:530 +0x2c5
github.com/hashicorp/hcl.(*decoder).decode(0xc000203af0, 0xc0003483f0, 0x22, 0x1805ea0, 0xc00035d860, 0x1652e60, 0xc0003741f0, 0x198, 0x0, 0x0)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:106 +0x7e5
github.com/hashicorp/hcl.(*decoder).decodeSlice(0xc000203af0, 0xc000356be0, 0x1f, 0x1805e60, 0xc000336e00, 0x1648e40, 0xc0003466a8, 0x197, 0xc0002025f8, 0xc0002025f8)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:459 +0x46d
github.com/hashicorp/hcl.(*decoder).decode(0xc000203af0, 0xc000356be0, 0x1f, 0x1805e60, 0xc000336e00, 0x1648e40, 0xc0003466a8, 0x197, 0x0, 0x0)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:104 +0x881
github.com/hashicorp/hcl.(*decoder).decodeStruct(0xc000203af0, 0xc000356b80, 0x1a, 0x1805f60, 0xc0003413e0, 0x170f780, 0xc000346680, 0x199, 0x0, 0xc000202e30)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:702 +0x1536
github.com/hashicorp/hcl.(*decoder).decode(0xc000203af0, 0xc000356b80, 0x1a, 0x1805fa0, 0xc0003413e0, 0x170f780, 0xc000346680, 0x199, 0x0, 0x0)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:108 +0x749
github.com/hashicorp/hcl.(*decoder).decodeMap(0xc000203af0, 0xc00032cac0, 0xb, 0x1805f60, 0xc00032f0c0, 0x167eb40, 0xc000344178, 0x195, 0xc000203248, 0xc000203248)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:386 +0x696
github.com/hashicorp/hcl.(*decoder).decode(0xc000203af0, 0xc00032cac0, 0xb, 0x1805f60, 0xc00032f0c0, 0x167eb40, 0xc000344178, 0x195, 0x0, 0x0)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:100 +0x5f3
github.com/hashicorp/hcl.(*decoder).decodeStruct(0xc000203af0, 0x17527ff, 0x4, 0x1805f60, 0xc00032e0c0, 0x1705e60, 0xc000344140, 0x199, 0x0, 0x0)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:692 +0x1749
github.com/hashicorp/hcl.(*decoder).decode(0xc000203af0, 0x17527ff, 0x4, 0x1805f60, 0xc00032e0c0, 0x1705e60, 0xc000344140, 0x199, 0x0, 0x0)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:108 +0x749
github.com/hashicorp/hcl.DecodeObject(0x170c580, 0xc000344140, 0x1805f60, 0xc00032e0c0, 0xc00032e0c0, 0x0)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/hashicorp/[email protected]/decoder.go:60 +0x16d
github.com/nektos/act/actions.ParseWorkflows(0xc000348030, 0x20, 0xc00034a080, 0x36, 0xc000203c40, 0x15d7eb5, 0xc000330000, 0x15dd330)
	/Users/casey.lee/Dev/personal/act/actions/parser.go:46 +0x33f
github.com/nektos/act/cmd.newRunAction.func1(0xc000330000, 0x1cbd420, 0x0, 0x0, 0x0, 0x0)
	/Users/casey.lee/Dev/personal/act/cmd/root.go:49 +0x8d
github.com/spf13/cobra.(*Command).execute(0xc000330000, 0xc000084190, 0x0, 0x0, 0xc000330000, 0xc000084190)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/spf13/[email protected]/command.go:762 +0x473
github.com/spf13/cobra.(*Command).ExecuteC(0xc000330000, 0x1, 0x17582ae, 0x11)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x2fd
github.com/spf13/cobra.(*Command).Execute(0xc000330000, 0x1c9d460, 0x1754440)
	/Users/casey.lee/Dev/go/pkg/mod/github.com/spf13/[email protected]/command.go:800 +0x2b
github.com/nektos/act/cmd.Execute(0x180a960, 0xc000209840, 0x17fd948, 0x5)
	/Users/casey.lee/Dev/personal/act/cmd/root.go:37 +0x3b4
main.main()
	/Users/casey.lee/Dev/personal/act/main.go:33 +0x167

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions