Skip to content

Commit

Permalink
Update Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkoenig committed Nov 20, 2023
1 parent 4f776e0 commit af3abaf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/template-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Cleanup
run: |
Expand Down Expand Up @@ -49,7 +51,7 @@ jobs:
git commit -m "Template cleanup"
- name: Push changes
uses: ad-m/github-push-action@v0.6.0
uses: ad-m/github-push-action@v0.8.0
with:
branch: main
github_token: ${{ secrets.GITHUB_TOKEN }}
15 changes: 6 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Cleanup
run: sed -i "s/%NAME%/test/g" build.sc
- name: Cache Scala
uses: coursier/cache-action@v6
- name: Setup Scala
uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- name: Setup Mill
uses: jodersky/[email protected]
- uses: coursier/setup-action@v1
with:
mill-version: 0.9.7
- name: Cache Scala
uses: coursier/cache-action@v5
jvm: adopt:11
apps: sbt mill
- name: SBT Test
run: sbt test
- name: mill Test
Expand Down

0 comments on commit af3abaf

Please sign in to comment.