Skip to content

%LocalAppData% unset on Windows when using Actions for CI #25019

Answered by chrispat
mvdan asked this question in Actions
Discussion options

You must be logged in to vote

I am not sure what is going on there.  I forked your repo and dumped the environment variables before go was run and LOCALAPPDATA is there https://github.com/chrispat/unparam/commit/fc77b63dbde48b7ba1fdd5fc29e476f59875b94b/checks?check_suite_id=281593816#step:4:58

I don’t know a lot about Go so I am not sure where to start debugging.  Is it possbile your test-script model that runs your go test scripts is not passing the entire environment along when it launches go?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants