Skip to content

[update-deps] Dependency Update #6145

[update-deps] Dependency Update

[update-deps] Dependency Update #6145

Workflow file for this run

name: Build
on:
push:
branches-ignore:
- rebase-pull-request**
- cherry-pick-rebase-pull-request**
tags-ignore:
- '**'
permissions:
id-token: write
contents: write
jobs:
build-job:
name: "Build"
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
env:
AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}
COUPLING_ALT_TEST_PASSWORD: ${{ secrets.COUPLING_ALT_TEST_PASSWORD }}
COUPLING_E2E_TEST_PASSWORD: ${{ secrets.COUPLING_E2E_TEST_PASSWORD }}
COUPLING_IN_MEMORY: "true"
COUPLING_PRIMARY_TEST_PASSWORD: ${{ secrets.COUPLING_PRIMARY_TEST_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }}
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}
steps:
- run: echo '127.0.0.1 static.localhost cli.localhost socket.localhost' | sudo tee -a /etc/hosts
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '20'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Configure AWS credentials (Deploy)
uses: aws-actions/configure-aws-credentials@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
role-to-assume: arn:aws:iam::174159267544:role/CouplingDeploy
aws-region: us-east-1
- name: Configure AWS credentials (Local)
uses: aws-actions/configure-aws-credentials@v4
if: ${{ github.ref != 'refs/heads/master' }}
with:
role-to-assume: arn:aws:iam::174159267544:role/LocalDevelopment
aws-region: us-east-1
- name: Add home environment variable
run: echo "HOME=$(echo ~)" >> $GITHUB_ENV
- name: Create Caddy Directory to avoid permissions problems
run: mkdir -p ~/caddy_data
- name: Setup users for Docker
run: |-
echo "UID=$(id -u)" >> $GITHUB_ENV &&
echo "GID=$(id -g)" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Up Git User
run: |
git config user.name "github-actions[bot]"
git config user.email "[email protected]"
- uses: testspace-com/setup-testspace@v1
with:
domain: robertfmurdock
- name: Setup Node
uses: actions/setup-node@v4
with:
cache: 'yarn'
cache-dependency-path: |
kotlin-js-store/yarn.lock
- name: Generate Version 🧮
run: ./gradlew calculateVersion -PexportToGithub=true --scan
- name: Build + Release Coupling
run: ./gradlew release check -Pversion=${{ env.TAGGER_VERSION }} --no-configuration-cache --scan --stacktrace
- name: Update Contributions
uses: robertfmurdock/coupling-contribution-action@v2
with:
coupling-secret: ${{ secrets.COUPLING_API_PARTY_SECRET }}
party-id: 9df8b8ef-f10f-4b75-bde1-d691c148378c
save-contribution: ${{ github.ref == 'refs/heads/master' }}
cycle-time-from-first-commit: true
contribution-file: build/digger/current.json
- name: Collect Results
if: ${{ always() }}
run: ./gradlew :composeLogs collectResults
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: test-output
path: |
build/test-output/
- name: Push result to Testspace server
if: always()
run: |
testspace $(find . -path *test-results* -name *.xml)