forked from paketo-buildpacks/github-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-pull-request.yml
More file actions
41 lines (34 loc) · 798 Bytes
/
test-pull-request.yml
File metadata and controls
41 lines (34 loc) · 798 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
33
34
35
36
37
38
39
40
41
name: Test Pull Request
on:
pull_request:
branches:
- main
jobs:
test:
name: Acceptance Test
runs-on: ubuntu-24.04
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 'stable'
- name: Checkout
uses: actions/checkout@v3
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Create stack
id: create-stack
run: |
./scripts/create.sh
- name: Run Acceptance Tests
run: ./scripts/test.sh
upload:
name: Upload Workflow Event Payload
runs-on: ubuntu-24.04
steps:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: event-payload
path: ${{ github.event_path }}