Skip to content

Commit

Permalink
ci: update workflows build processes (#53)
Browse files Browse the repository at this point in the history
* Remove unnecessary publish workflow

* Add job to test build, update actions, use ubuntu-latest instead of custom runner

* Fix typo in publish command
  • Loading branch information
matthewelwell committed Jul 31, 2024
1 parent c53a915 commit c49f088
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 22 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/publish.yml

This file was deleted.

16 changes: 14 additions & 2 deletions .github/workflows/verify-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,24 @@ on:
jobs:
test:
name: Run Unit Tests
runs-on: General-Purpose-4c-Runner
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Preconfigure gradle
uses: ./.github/actions/prepare-gradle

- name: Run unit tests
run: ./gradlew check -x koverVerify -P excludeIntegrationTests

build:
name: Test build process
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Preconfigure gradle
uses: ./.github/actions/prepare-gradle

- name: Test Build Process
run: ./gradlew publishToMavenLocal
4 changes: 2 additions & 2 deletions .github/workflows/verify-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
test:
name: Run Unit Tests
runs-on: General-Purpose-4c-Runner
runs-on: ubuntu-latest

env:
INTEGRATION_TESTS_ENVIRONMENT_KEY: NTtWcerSBE5yj7a5optMSk
Expand All @@ -17,7 +17,7 @@ jobs:
INTEGRATION_TESTS_API_TOKEN: ${{ secrets.INTEGRATION_TESTS_API_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Preconfigure gradle
uses: ./.github/actions/prepare-gradle

Expand Down

0 comments on commit c49f088

Please sign in to comment.