Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github actions #916

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.3.4
- uses: olafurpg/setup-scala@v10
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1

- name: Starting up RabbitMQ
run: docker-compose up -d

- name: Cache Coursier dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-${{ github.ref }}-coursier
restore-keys: |
${{ runner.os }}-${{ github.ref }}-coursier
path: ~/.cache/coursier
key: ${{ runner.os }}-${{ github.ref }}-coursier
restore-keys: |
${{ runner.os }}-${{ github.ref }}-coursier

- name: Cache Ivy dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.ivy2/cache
key: ${{ runner.os }}-${{ github.ref }}-ivy2
restore-keys: |
${{ runner.os }}-${{ github.ref }}-ivy2
${{ runner.os }}-${{ github.ref }}-ivy2

- name: Tests
run: sbt -J-Xms4G -J-Xmx4G buildFs2Rabbit
Expand All @@ -45,24 +45,24 @@ jobs:
needs: [build]

steps:
- uses: actions/checkout@v2.3.4
- uses: olafurpg/setup-scala@v13
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1

- name: Cache Coursier dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-${{ github.ref }}-coursier
restore-keys: |
${{ runner.os }}-${{ github.ref }}-coursier
path: ~/.cache/coursier
key: ${{ runner.os }}-${{ github.ref }}-coursier
restore-keys: |
${{ runner.os }}-${{ github.ref }}-coursier

- name: Cache Ivy dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.ivy2/cache
key: ${{ runner.os }}-${{ github.ref }}-ivy2
restore-keys: |
${{ runner.os }}-${{ github.ref }}-ivy2
${{ runner.os }}-${{ github.ref }}-ivy2

- name: Tests
run: sbt -J-Xms4G -J-Xmx4G +mimaReportBinaryIssues
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
jobs:
build:
name: Publish
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: "actions/[email protected]"
- name: java 11 setup
uses: "olafurpg/setup-scala@v13"
with:
java-version: '11'
- uses: "olafurpg/setup-gpg@v3"
- uses: actions/checkout@v4
- name: java setup
uses: coursier/setup-action@v1

- uses: olafurpg/setup-gpg@v3
- env:
PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}"
PGP_SECRET: "${{ secrets.PGP_SECRET }}"
Expand Down