Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed May 7, 2024
1 parent 92328de commit 42fbf47
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ jobs:
continue-on-error: true
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Check all code compiles
run: sbt +Test/compile
- name: Check artifacts build process
Expand All @@ -47,19 +47,19 @@ jobs:
continue-on-error: false
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Check if the site workflow is up to date
run: sbt ciCheckGithubWorkflow
- name: Lint
Expand All @@ -79,15 +79,15 @@ jobs:
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: ${{ matrix.java }}
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Test
Expand All @@ -99,19 +99,19 @@ jobs:
if: ${{ github.event_name == 'push' }}
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Generate Readme
run: sbt docs/generateReadme
- name: Commit Changes
Expand All @@ -128,7 +128,7 @@ jobs:
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5.0.2
uses: peter-evans/create-pull-request@v6.0.2
with:
body: |-
Autogenerated changes after running the `sbt docs/generateReadme` command of the [zio-sbt-website](https://zio.dev/zio-sbt) plugin.
Expand Down Expand Up @@ -173,19 +173,19 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Release
run: sbt ci-release
env:
Expand Down

0 comments on commit 42fbf47

Please sign in to comment.