Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: ensure lockfile is up-to-date #1675

Merged
merged 1 commit into from
Sep 18, 2024
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
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
Loading