Skip to content

Commit

Permalink
Check in CI if gradle.lock is up-to-date
Browse files Browse the repository at this point in the history
  • Loading branch information
b-fein committed Jun 23, 2024
1 parent 30362a6 commit 53d9a11
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,26 @@ test:dependencies:
<<: *cachedefinition
policy: pull

test:flake-dependencies:
stage: test
image: nixos/nix:latest
needs: []
script:
- nix-env -iA nixpkgs.diffutils nixpkgs.jdk8 nixpkgs.gnused
- nix --extra-experimental-features nix-command --extra-experimental-features flakes run github:tadfisher/gradle2nix/v2 -- -l gradle.lock.new
- diff gradle.lock gradle.lock.new
cache:
<<: *cachedefinition
policy: pull
rules:
- changes:
- build.gradle.kts
- buildSrc/**/Versions.kt
- flake.lock
- flake.nix
- gradle.lock
- gradle/wrapper/gradle-wrapper.properties

test:spotless:
stage: test
needs: ["build:linux:jdk8"]
Expand Down

0 comments on commit 53d9a11

Please sign in to comment.