Skip to content

Commit

Permalink
Oppgraderer til ny bidrag-transport (#54)
Browse files Browse the repository at this point in the history
Faster gh-actions
  • Loading branch information
unorsk authored Oct 3, 2023
1 parent 26490f1 commit b95ead3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 39 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Run tests for dependabot PRs
on:
workflow_dispatch:
pull_request:
types: [ ready_for_review, opened, synchronize ]
branches:
Expand All @@ -25,4 +26,4 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: mvn -B -e --settings .m2/maven-settings.xml clean install
- run: mvn -B -e --settings .m2/maven-settings.xml clean test
19 changes: 0 additions & 19 deletions .github/workflows/deploy_feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,10 @@ jobs:
image: ${{ steps.docker-push.outputs.image }}
tag: ${{ steps.docker-push.outputs.tag }}

# run-tests:
# runs-on: ubuntu-latest
# name: Run tests
# needs: build
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'temurin'
# - uses: actions/cache@v3
# with:
# path: ~/.m2
# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-
# - run: mvn -B -e --settings .m2/maven-settings.xml clean install

deploy-feature:
runs-on: ubuntu-latest
name: Deploy feature
needs:
# - run-tests
- build
steps:
- uses: actions/checkout@v4
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,10 @@ jobs:
image: ${{ steps.docker-push.outputs.image }}
tag: ${{ steps.docker-push.outputs.tag }}

# run-tests:
# runs-on: ubuntu-latest
# name: Run tests
# needs: build
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'temurin'
# - uses: actions/cache@v3
# with:
# path: ~/.m2
# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-
# - run: mvn -B -e --settings .m2/maven-settings.xml clean install

deploy-dev:
runs-on: ubuntu-latest
name: Deploy dev
needs:
# - run-tests
- build
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b95ead3

Please sign in to comment.