Skip to content

Commit

Permalink
Update GitHub Actions workflows (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
asakaev authored Oct 5, 2024
1 parent 595a5a9 commit d2480fd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ on:

jobs:
build:
name: Build and Test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
fetch-depth: 0
- name: Build project
run: sbt test
distribution: temurin
java-version: 17
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt -v +test
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Release
on:
push:
branches: [master, main]
Expand All @@ -12,10 +12,15 @@ env:

jobs:
publish:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt ci-release
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ThisBuild / organization := "ru.m2"
ThisBuild / organizationName := "m2"
ThisBuild / organizationHomepage := Some(url("https://m2.ru"))

ThisBuild / versionScheme := Some("early-semver")

ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/m2-oss/calypso"),
Expand Down

0 comments on commit d2480fd

Please sign in to comment.