-
Notifications
You must be signed in to change notification settings - Fork 1
24 lines (24 loc) · 1015 Bytes
/
test.yml
File metadata and controls
24 lines (24 loc) · 1015 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
name: TDR Run Graphql Schema Check
on:
pull_request:
push:
branches-ignore:
- master
- release-*
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: sbt/setup-sbt@06192244f17880c9bf69ccd8de5b2e8785822be5 # v1.1.17
- uses: nationalarchives/tdr-github-actions/.github/actions/run-git-secrets@b6ba669dcee7fd4ac089c2e9fb234c48ddd93ab5 # v0.0.15
- uses: nationalarchives/tdr-github-actions/.github/actions/slack-send@b6ba669dcee7fd4ac089c2e9fb234c48ddd93ab5 # v0.0.15
if: failure()
with:
message: ":warning: Secrets found in repository ${{ inputs.repo-name }}"
slack-url: ${{ secrets.SLACK_WEBHOOK }}
- name: Check schema
run: |
mkdir -p src/main/resources/
wget -O src/main/resources/schema.graphql https://raw.githubusercontent.com/nationalarchives/tdr-consignment-api/master/schema.graphql
sbt graphqlCodegen