chore(deps): Non-AWS dependency updates #518
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@v3 | |
# Configuring caching is also recommended. | |
# See https://github.com/actions/setup-java | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'corretto' | |
cache: 'sbt' | |
- 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 | |