Skip to content

Bump actions/setup-go from 5.1.0 to 5.2.0 in /boilerplate #347

Bump actions/setup-go from 5.1.0 to 5.2.0 in /boilerplate

Bump actions/setup-go from 5.1.0 to 5.2.0 in /boilerplate #347

name: test-setup-melange
on:
pull_request:
jobs:
test-setup-melange:
runs-on: ubuntu-latest
permissions: {}
strategy:
matrix:
version: ['tip', 'latest-release', 'v0.5.5']
fail-fast: false
steps:
- uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: changed-melange
uses: tj-actions/changed-files@4edd678ac3f81e2dc578756871e4d00c19191daf # v45.0.4
with:
files: |
./setup-melange/**
./melange-build/**
./melange-build-pkg/**
./melange-keygen/**
.github/workflows/test-setup-melange.yaml
- uses: ./setup-melange
if: steps.changed-melange.outputs.any_changed == 'true'
with:
version: ${{matrix.version}}
- if: steps.changed-melange.outputs.any_changed == 'true'
run: |
melange build setup-melange/example/melange.yaml --arch=x86_64
ls -R packages/
# This should do the same thing.
test-melange-build:
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: changed-melange
uses: tj-actions/changed-files@4edd678ac3f81e2dc578756871e4d00c19191daf # v45.0.4
with:
files: |
./setup-melange/**
.github/workflows/test-setup-melange.yaml
- uses: ./melange-build
if: steps.changed-melange.outputs.any_changed == 'true'
with:
config: setup-melange/example/melange.yaml
archs: x86_64
sign-with-temporary-key: true