chore(main): release 0.2.0 #7
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
name: CI | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cleanup Disk | |
uses: jlumbroso/[email protected] | |
with: | |
android: true | |
dotnet: true | |
haskell: true | |
tool-cache: true | |
large-packages: false | |
swap-storage: false | |
- name: Cleanup docker cache | |
run: | | |
echo "-------------Disk info before cleanup----------------" | |
df -h | |
echo "-----------------------------------------------------" | |
docker system prune -a -f | |
echo "-------------Disk info after cleanup----------------" | |
df -h | |
echo "-----------------------------------------------------" | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# We need the full history for the commitlint task | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
# TODO: remove this when we daggerize the e2e | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.x' | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
- name: Install Dagger | |
env: | |
# renovate: datasource=github-tags depName=dagger/dagger versioning=semver | |
DAGGER_VERSION: 0.14.0 | |
run: | | |
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh | |
- name: Run CI task | |
run: | | |
task ci | |
- name: Write manifest | |
run: | | |
task manifest | |
- name: Publish images | |
if: | | |
github.event_name == 'workflow_dispatch' || | |
github.event.pull_request.head.repo.full_name == github.repository | |
env: | |
REGISTRY_USER: ${{ github.actor }} | |
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
task publish | |
- name: Attach manifest to workflow run | |
uses: actions/upload-artifact@v4 | |
with: | |
name: manifest.yaml | |
path: ./manifest.yaml |