Skip to content

build(deps): bump google.golang.org/api from 0.143.0 to 0.146.0 #639

build(deps): bump google.golang.org/api from 0.143.0 to 0.146.0

build(deps): bump google.golang.org/api from 0.143.0 to 0.146.0 #639

name: ci
on:
pull_request:
push:
branches:
- 'main'
jobs:
build-melange:
name: Build melange and add to artifact cache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.21'
check-latest: true
- name: build
run: |
make melange
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: melange-${{github.run_id}}
path: ${{github.workspace}}/melange
retention-days: 1
build-packages:
name: Build packages
needs:
- build-melange
# TODO: Set up a larger runner for this.
runs-on: ubuntu-latest
# This is a list of packages which covers basic and exotic uses of
# the built-in pipelines. Goal is to balance efficiency while also
# exercising Melange with real-world package builds.
# Feel free to add additional packages to this matrix which exercise
# Melange in new ways (e.g. new pipelines, etc.)
strategy:
fail-fast: false
matrix:
package:
- hello-wolfi
- glibc
- tini
- lzo
- bubblewrap
- gdk-pixbuf
- gitsign
- guac
- mdbook
- s3cmd
- perl-yaml-syck
- xmlto
- ncurses
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
repository: wolfi-dev/os
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: melange-${{github.run_id}}
path: ${{github.workspace}}/.melange-dir
- run: |
sudo mv ${{github.workspace}}/.melange-dir/melange /usr/bin/melange
sudo chmod a+x /usr/bin/melange
melange version
- run: |
sudo apt-get -y install bubblewrap
- run: |
make MELANGE="sudo melange" BUILDWORLD="no" package/${{matrix.package}}