Skip to content

Bump peter-evans/create-pull-request from 6.1.0 to 7.0.0 in the dependencies group #86

Bump peter-evans/create-pull-request from 6.1.0 to 7.0.0 in the dependencies group

Bump peter-evans/create-pull-request from 6.1.0 to 7.0.0 in the dependencies group #86

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
bump:
name: Test action
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
recipe:
- polarify
- test-package
os:
- ubuntu-latest
- macos-13
- macos-latest
- windows-latest
rattler-build-version:
- '' # default
- latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
recipe-path: test/${{ matrix.recipe }}/recipe.yaml
artifact-name: package-${{ matrix.recipe }}-${{ matrix.os }}-${{ matrix.rattler-build-version }}
check-readme:
name: Check versions in README.md
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check rattler-build-action version mentions
run: |
project_version="$(yq '.version' project.toml)"
count_expected=6
count_actual="$(grep -c "prefix-dev/rattler-build-action@v${project_version}" README.md || true)"
if [ "$count_actual" -ne "$count_expected" ]; then
echo "::error file=README.md::Expected $count_expected mentions of \`rattler-build-action@v$project_version\` in README.md, but found $count_actual."
exit 1
fi