Skip to content

Commit

Permalink
💚 Fix HOME env var on lint action
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
  • Loading branch information
mhkarimi1383 committed Dec 14, 2024
1 parent c1ce644 commit 0313fa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ jobs:

- uses: cachix/install-nix-action@v22
- uses: rrbutani/[email protected]
env:
HOME: /home/runner
with:
file: shell.nix
file: shell.nix

- name: Check if the chart follows a valid semver version
run: |
Expand Down
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pkgs.mkShell {
yq-go
];
shellHook = ''
export HOME=${builtins.getEnv "HOME"}
export GOPATH=$(pwd)/nix/.go
export GOCACHE=$(pwd)/nix/.go/cache
export TMPDIR=$(pwd)/nix/.tmp
Expand Down

0 comments on commit 0313fa2

Please sign in to comment.