Skip to content

Commit

Permalink
ci(shared): bump vendored ci files
Browse files Browse the repository at this point in the history
  • Loading branch information
galoybot committed Apr 29, 2024
1 parent 33a2743 commit 7497fef
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
name: Check Code
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- uses: actions/checkout@v3
- name: Run check code
run: make check-code
run: nix develop -c make check-code
5 changes: 5 additions & 0 deletions .github/workflows/vendor/rust-check-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
name: Check Code
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- uses: actions/checkout@v3
- name: Run check code
run: make check-code
run: nix develop -c make check-code
10 changes: 5 additions & 5 deletions ci/vendir.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ apiVersion: vendir.k14s.io/v1alpha1
directories:
- contents:
- git:
commitTitle: 'chore: use kaniko builder in shared build task (#50)'
sha: 3d1a7c11c7967952e84231e39aa5425ad704d93d
commitTitle: 'chore: use nix for rust check-code (#52)'
sha: a14ab78128be32e6e1d37f21def9a83351531bde
path: .
path: ../.github/workflows/vendor
- contents:
- git:
commitTitle: 'chore: use kaniko builder in shared build task (#50)'
sha: 3d1a7c11c7967952e84231e39aa5425ad704d93d
commitTitle: 'chore: use nix for rust check-code (#52)'
sha: a14ab78128be32e6e1d37f21def9a83351531bde
path: .
path: ./vendor
path: vendor
kind: LockConfig
4 changes: 2 additions & 2 deletions ci/vendir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ directories:
- path: . # Copy this folder out to ..
git:
url: https://github.com/GaloyMoney/concourse-shared.git
ref: 3d1a7c11c7967952e84231e39aa5425ad704d93d
ref: a14ab78128be32e6e1d37f21def9a83351531bde
includePaths:
- shared/actions/*
excludePaths:
Expand All @@ -20,7 +20,7 @@ directories:
- path: .
git:
url: https://github.com/GaloyMoney/concourse-shared.git
ref: 3d1a7c11c7967952e84231e39aa5425ad704d93d
ref: a14ab78128be32e6e1d37f21def9a83351531bde
includePaths:
- shared/ci/**/*
excludePaths:
Expand Down
2 changes: 1 addition & 1 deletion ci/vendor/tasks/rust-check-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ set -eu

pushd repo

make check-code
nix develop -c make check-code

0 comments on commit 7497fef

Please sign in to comment.