-
-
Notifications
You must be signed in to change notification settings - Fork 11
46 lines (38 loc) · 1.29 KB
/
Copy pathcoop-deployment-scripts.yml
File metadata and controls
46 lines (38 loc) · 1.29 KB
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
45
46
name: Coop deployment scripts
on:
push:
paths:
- 'apps/faf-legacy-deployment/scripts/**'
- '.github/workflows/coop-deployment-scripts.yml'
pull_request:
paths:
- 'apps/faf-legacy-deployment/scripts/**'
- '.github/workflows/coop-deployment-scripts.yml'
# the job builds and runs repository controlled Kotlin, so it gets nothing but read access
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
container:
# same image the deployment CronJobs use
image: gradle:9.4-jdk21
steps:
- uses: actions/checkout@v6
with:
# nothing here pushes, so the job token has no business staying in .git/config
persist-credentials: false
- name: Check out the coop missions
uses: actions/checkout@v6
with:
repository: FAForever/faf-coop-maps
path: faf-coop-maps
persist-credentials: false
- name: Compile
working-directory: apps/faf-legacy-deployment/scripts
run: gradle --no-daemon compileKotlin
- name: Round trip the path fixer over every mission map
working-directory: apps/faf-legacy-deployment/scripts
env:
MAPS_REPO: ${{ github.workspace }}/faf-coop-maps
run: gradle --no-daemon verifyScmapFixer