Skip to content

Commit

Permalink
chore: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bbortt committed Mar 10, 2024
1 parent 5c054cd commit 35fc03c
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Application CI
on:
push:
branches:
- '!main'
concurrency:
group: application-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
gradle:
name: 'Gradle Wrapper Validation'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
k6-report-ingress:
name: 'App: k6-report-ingress'
runs-on: ubuntu-latest
env:
SPRING_OUTPUT_ANSI_ENABLED: DETECT
SPRING_JPA_SHOW_SQL: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build & Test
run: ./gradlew :apps:k6-report-ingress:build
cli:
name: 'cli'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
working-directory: cli
run: cargo build --verbose
- name: Run tests
working-directory: cli
run: cargo test --verbose

0 comments on commit 35fc03c

Please sign in to comment.