-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 785 Bytes
/
Copy pathrelease-validate.yaml
File metadata and controls
32 lines (28 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Validate release
on:
pull_request:
branches: ["main"]
permissions:
contents: read
env:
BUNDLE_WITH: maintenance
jobs:
validate:
name: Release validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
persist-credentials: false
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
bundler-cache: true
- name: Regenerate release content
env:
RELEASE_BASE: ${{ github.event.pull_request.base.sha }}
run: bundle exec bake gem:github:release:validate "base=$RELEASE_BASE"
- name: Build unsigned package
run: bundle exec bake gem:build signing_key=false