Skip to content
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
38 changes: 28 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,51 @@ jobs:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
- uses: cachix/cachix-action@v16
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # https://github.com/actions/checkout/releases/tag/v6.0.2
with:
name: devenv
persist-credentials: false
clean: true

- name: Install Nix
uses: cachix/install-nix-action@2126ae7fc54c9df00dd18f7f18754393182c73cd # https://github.com/cachix/install-nix-action/releases/tag/v31.9.1
with:
nix_path: nixpkgs=channel:nixos-25.11

- name: Print nixpkgs version
run: |
nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'

- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
run: |
nix profile add github:cachix/devenv/v1.11.1 --accept-flake-config --option extra-substituters "https://devenv.cachix.org?trusted=true&priority=3"

- name: Run devenv test
run: devenv test
run: |
devenv test

- name: Build, run tests, run static analysis
shell: devenv shell bash -- -e {0}
run: mvn clean verify
run: |
mvn clean verify

check-supported-jdks:
needs: ci-using-devenv
strategy:
matrix:
jdk_version: [ 17, 21 ]
jdk_version: [ 17, 21, 25 ]

name: "JDK ${{ matrix.jdk_version }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # https://github.com/actions/checkout/releases/tag/v6.0.2
with:
persist-credentials: false
clean: true

- name: "Set up JDK ${{ matrix.jdk_version }}"
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # https://github.com/actions/setup-java/releases/tag/v5.2.0
with:
distribution: "temurin"
java-version: ${{ matrix.jdk_version }}
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/release-entry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
# Needed by softprops/action-gh-release to create the GitHub Release entry:
contents: write
steps:
- uses: actions/checkout@v6
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # https://github.com/actions/checkout/releases/tag/v6.0.2
with:
persist-credentials: false
clean: true
Expand All @@ -25,14 +26,18 @@ jobs:
fetch-depth: 0
fetch-tags: true

- uses: cachix/install-nix-action@v31

- uses: cachix/cachix-action@v16
- name: Install Nix
uses: cachix/install-nix-action@2126ae7fc54c9df00dd18f7f18754393182c73cd # https://github.com/cachix/install-nix-action/releases/tag/v31.9.1
with:
name: devenv
nix_path: nixpkgs=channel:nixos-25.11

- name: Print nixpkgs version
run: |
nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'

- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
run: |
nix profile add github:cachix/devenv/v1.11.1 --accept-flake-config --option extra-substituters "https://devenv.cachix.org?trusted=true&priority=3"

- name: Generate change list
shell: devenv shell bash -- -e {0}
Expand All @@ -47,7 +52,7 @@ jobs:
cat changes.md >> "$GITHUB_STEP_SUMMARY"

- name: Create GitHub Release entry
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # https://github.com/softprops/action-gh-release/releases/tag/v2.5.0
if: github.ref_type == 'tag'
with:
# Populate the release entry body with the notes we generated
Expand Down
36 changes: 19 additions & 17 deletions devenv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,31 @@
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1763136231,
"lastModified": 1764115230,
"owner": "cachix",
"repo": "devenv",
"rev": "4b8c2bbdb4e01ef8c4093ee1224fe21ed5ea1a5e",
"rev": "51440964cd26a47e90064f9d59aa230a5cefc88b",
"type": "github"
},
"original": {
"dir": "src/modules",
"owner": "cachix",
"ref": "51440964cd26a47e90064f9d59aa230a5cefc88b",
"repo": "devenv",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1761588595,
"owner": "edolstra",
"lastModified": 1767039857,
"owner": "NixOS",
"repo": "flake-compat",
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "edolstra",
"owner": "NixOS",
"repo": "flake-compat",
"type": "github"
}
Expand All @@ -38,14 +39,15 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1763032142,
"lastModified": 1772665116,
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "84255025dee4c8701a99fbff65ac3c9095952f99",
"rev": "39f53203a8458c330f61cc0759fe243f0ac0d198",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "39f53203a8458c330f61cc0759fe243f0ac0d198",
"repo": "git-hooks.nix",
"type": "github"
}
Expand All @@ -72,10 +74,10 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1763191728,
"lastModified": 1772736753,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1d4c88323ac36805d09657d13a5273aea1b34f0c",
"rev": "917fec990948658ef1ccd07cef2a1ef060786846",
"type": "github"
},
"original": {
Expand All @@ -87,16 +89,16 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1761313199,
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "d1c30452ebecfc55185ae6d1c983c09da0c274ff",
"lastModified": 1772822230,
"owner": "nixos",
"repo": "nixpkgs",
"rev": "71caefce12ba78d84fe618cf61644dce01cf3a96",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "rolling",
"repo": "devenv-nixpkgs",
"owner": "nixos",
"ref": "71caefce12ba78d84fe618cf61644dce01cf3a96",
"repo": "nixpkgs",
"type": "github"
}
},
Expand Down
2 changes: 1 addition & 1 deletion devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
extends: relaxed
rules:
line-length:
max: 150
max: 180
'';
};
};
Expand Down
6 changes: 4 additions & 2 deletions devenv.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
---
inputs:
devenv:
url: github:cachix/devenv?dir=src/modules&ref=51440964cd26a47e90064f9d59aa230a5cefc88b # v1.11.1 as of 2026-03-07
nixpkgs:
url: github:cachix/devenv-nixpkgs/rolling
url: github:nixos/nixpkgs?ref=71caefce12ba78d84fe618cf61644dce01cf3a96 # latest commit on nixos-25.11 branch as of 2026-03-07
git-hooks:
url: github:cachix/git-hooks.nix
url: github:cachix/git-hooks.nix?ref=39f53203a8458c330f61cc0759fe243f0ac0d198 # latest commit on main branch as of 2026-03-07

# eof
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
<version>2.21.0</version>
<configuration>
<!-- When scanning for upgrades ignore pre-release artifacts -->
<ignoredVersions>.*-M.*,.*-alpha.*</ignoredVersions>
<ignoredVersions>.*-M.*,.*-alpha.*,.*-rc.*,.*-b.*</ignoredVersions>
</configuration>
</plugin>
<plugin>
Expand Down
Loading