-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,22 +29,31 @@ jobs: | |
strategy: | ||
matrix: | ||
alwaysUpdatePulsar: [ "true", "false" ] | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-latest-8-cores | ||
env: | ||
ALWAYS_UPDATE_PULSAR_RESOURCE: ${{ matrix.alwaysUpdatePulsar }} | ||
GOPRIVATE: github.com/streamnative | ||
ACCESS_TOKEN: ${{ secrets.SNBOT_GITHUB_TOKEN }} | ||
IMAGE: streamnative/sn-platform:2.10.4.3 | ||
WATCH_CERT_MANAGER_CRDS: "false" | ||
steps: | ||
- name: clean disk | ||
run: | | ||
df -h | ||
sudo swapoff -a | ||
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc | ||
sudo apt clean | ||
docker rmi $(docker images -q) -f | ||
df -h | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/[email protected] | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: false | ||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: true | ||
swap-storage: true | ||
|
||
- name: Cleanup disk | ||
run: sudo rm -rf /usr/local/.ghcup | ||
|
||
- name: Set up Go 1.22.11 | ||
uses: actions/setup-go@v3 | ||
|