Skip to content

Commit

Permalink
ci: ensure lockfile is up-to-date
Browse files Browse the repository at this point in the history
Signed-off-by: Appu Goundan <[email protected]>
  • Loading branch information
loosebazooka committed Sep 18, 2024
1 parent 831ac29 commit 25f1df3
Show file tree
Hide file tree
Showing 5 changed files with 2,393 additions and 449 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ permissions:
contents: read

jobs:
lockfile:
name: Check lockfile up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check lockfile
run: bazel mod deps --lockfile_mode=error

ci-build-test:
name: CI build and unit test
runs-on: distroless-ci-large-ubuntu-20.04 # custom runner most compatible with debian 11
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/pylint.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/update-deb-package-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
done
bazel run @//private/pkg/test/oci_image:test_sboms
- name: Run update lockfile
if: env.DISTROLESS_DIFF
run: bazel mod deps --lockfile_mode=update

- name: Create commits
if: env.DISTROLESS_DIFF
id: create-commits
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/update-temurin-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ jobs:
git commit -s -m "Bumping temurin archives to latest stable versions"
git push --force origin HEAD
- name: Run update lockfile
if: env.DISTROLESS_DIFF
run: bazel mod deps --lockfile_mode=update

- name: Create Pull Request
if: env.DISTROLESS_DIFF
env:
Expand Down
Loading

0 comments on commit 25f1df3

Please sign in to comment.