Skip to content

feat: add curl but runtime this time #7

feat: add curl but runtime this time

feat: add curl but runtime this time #7

name: Build and test PR
on:
pull_request:
types: ['opened', 'synchronize']
jobs:
build-and-test-pr:
runs-on: ubuntu-latest
permissions:
contents: read
env:
BEETS_VERSION: "2.11.0"
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Build
id: build
uses: ./.github/actions/build
with:
label: ${{ format('pr{0}', github.event.pull_request.number) }}
upstream-ref: v${{ env.BEETS_VERSION }}
- name: Test
uses: ./.github/actions/test
with:
image-ref: ${{ steps.build.outputs.primary-ref }}
beets-version: ${{ env.BEETS_VERSION }}