-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #367 from profunktor/various-updates
Various updates to make a new release
- Loading branch information
Showing
7 changed files
with
102 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,19 +8,15 @@ on: | |
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
matrix: | ||
java: | ||
- jdk15 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: "Cache for sbt & coursier ♨️" | ||
uses: coursier/[email protected] | ||
|
||
- name: "Install Nix ❄️" | ||
uses: cachix/install-nix-action@v12 | ||
uses: cachix/install-nix-action@v18 | ||
|
||
- name: "Run with ${{ matrix.java }} 🚀" | ||
run: nix-shell --argstr java "${{ matrix.java }}" --run "sbt ++ 'test;mdoc'" | ||
run: nix develop -c sbt 'clean;mdoc;++test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,18 +9,19 @@ on: | |
jobs: | ||
build: | ||
name: Publish | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: java 11 setup | ||
uses: olafurpg/setup-java@v10 | ||
- uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
- uses: olafurpg/setup-gpg@v3 | ||
- env: | ||
fetch-depth: 0 # fetch all branches & tags | ||
|
||
- name: "Install Nix ❄️" | ||
uses: cachix/install-nix-action@v18 | ||
|
||
- name: "Publish ${{ github.ref }} 🚀" | ||
env: | ||
PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}" | ||
PGP_SECRET: "${{ secrets.PGP_SECRET }}" | ||
SONATYPE_PASSWORD: "${{ secrets.SONATYPE_PASSWORD }}" | ||
SONATYPE_USERNAME: "${{ secrets.SONATYPE_USERNAME }}" | ||
name: "Publish ${{ github.ref }}" | ||
run: sbt ci-release | ||
run: nix develop -c sbt ci-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ import Dependencies._ | |
import microsites.ExtraMdFileConfig | ||
|
||
ThisBuild / organizationName := "ProfunKtor" | ||
ThisBuild / crossScalaVersions := List("2.12.15", "2.13.8", "3.1.2") | ||
ThisBuild / crossScalaVersions := List("2.12.15", "2.13.8", "3.2.1") | ||
|
||
// publishing | ||
ThisBuild / name := """http4s-jwt-auth""" | ||
|
@@ -16,7 +16,7 @@ ThisBuild / developers := List( | |
"gvolpe", | ||
"Gabriel Volpe", | ||
"[email protected]", | ||
url("https://gvolpe.github.io") | ||
url("https://gvolpe.com") | ||
) | ||
) | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
description = "Scala development shell"; | ||
|
||
inputs = { | ||
nixpkgs.url = github:nixos/nixpkgs/nixpkgs-unstable; | ||
flake-utils.url = github:numtide/flake-utils; | ||
}; | ||
|
||
outputs = { self, nixpkgs, flake-utils, ... }: | ||
flake-utils.lib.eachDefaultSystem (system: | ||
let | ||
jreOverlay = f: p: { | ||
jre = p.jdk19; | ||
}; | ||
|
||
pkgs = import nixpkgs { | ||
inherit system; | ||
overlays = [ jreOverlay ]; | ||
}; | ||
in | ||
{ | ||
devShell = pkgs.mkShell { | ||
name = "scala-dev-shell"; | ||
|
||
buildInputs = with pkgs; [ | ||
gnupg | ||
jekyll | ||
jre | ||
sbt | ||
]; | ||
|
||
JAVA_HOME = "${pkgs.jre}"; | ||
}; | ||
} | ||
); | ||
} |