Skip to content

Commit

Permalink
build: Fix mkdir /tmp/....: no space left on device
Browse files Browse the repository at this point in the history
  • Loading branch information
michaljurecko committed Jul 9, 2024
1 parent 5bc7323 commit 2acaa38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/go-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,14 @@ runs:
mkdir -p $GODIRS/modcache
mkdir -p $GODIRS/lintcache
mkdir -p $GODIRS/bin
mkdir -p $GODIRS/tmp
go env -w \
GOPATH=$GODIRS/path \
GOCACHE=$GODIRS/cache \
GOMODCACHE=$GODIRS/modcache \
GOBIN=$GODIRS/bin \
GOTMPDIR=$GODIRS/tmp
echo "GODIRS=$GODIRS" >> $GITHUB_ENV
echo "GOLANGCI_LINT_CACHE=$GODIRS/lintcache" >> $GITHUB_ENV
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
android: true
dotnet: true
haskell: true
large-packages: false
docker-images: false
swap-storage: false

- name: Setup Go, tools and caching
uses: ./.github/actions/go-setup
with:
Expand Down

0 comments on commit 2acaa38

Please sign in to comment.