-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1.17 KB
/
ci.yml
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
42
43
44
# Find full documentation here https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
name: CI
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
CI:
runs-on: ubuntu-latest
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
# required by actions-riff-raff@v4
id-token: write
contents: read
pull-requests: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: guardian/setup-scala@v1
- name: Build
run: |
./script/ci
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v4
with:
app: anghammarad
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
configPath: anghammarad/riff-raff.yaml
projectName: tools::anghammarad
buildNumberOffset: 250
contentDirectories: |
anghammarad:
- anghammarad/anghammarad.jar
cfn:
- cloudformation/cfn.yaml