Skip to content

Commit 21046e5

Browse files
ci(shared): bump vendored ci files (#535)
Co-authored-by: CI Bot <bot@galoy.io>
1 parent 33a2743 commit 21046e5

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

.github/workflows/check-code.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
name: Check Code
1313
runs-on: ubuntu-latest
1414
steps:
15+
- name: Install Nix
16+
uses: DeterminateSystems/nix-installer-action@v4
17+
- name: Run the Magic Nix Cache
18+
uses: DeterminateSystems/magic-nix-cache-action@v2
1519
- uses: actions/checkout@v3
1620
- name: Run check code
1721
run: make check-code
22+
run: nix develop -c make check-code

.github/workflows/vendor/rust-check-code.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
name: Check Code
1313
runs-on: ubuntu-latest
1414
steps:
15+
- name: Install Nix
16+
uses: DeterminateSystems/nix-installer-action@v4
17+
- name: Run the Magic Nix Cache
18+
uses: DeterminateSystems/magic-nix-cache-action@v2
1519
- uses: actions/checkout@v3
1620
- name: Run check code
1721
run: make check-code
22+
run: nix develop -c make check-code

ci/vendir.lock.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ apiVersion: vendir.k14s.io/v1alpha1
22
directories:
33
- contents:
44
- git:
5-
commitTitle: 'chore: use kaniko builder in shared build task (#50)'
6-
sha: 3d1a7c11c7967952e84231e39aa5425ad704d93d
5+
commitTitle: 'chore: use nix for rust check-code (#52)'
6+
sha: a14ab78128be32e6e1d37f21def9a83351531bde
77
path: .
88
path: ../.github/workflows/vendor
99
- contents:
1010
- git:
11-
commitTitle: 'chore: use kaniko builder in shared build task (#50)'
12-
sha: 3d1a7c11c7967952e84231e39aa5425ad704d93d
11+
commitTitle: 'chore: use nix for rust check-code (#52)'
12+
sha: a14ab78128be32e6e1d37f21def9a83351531bde
1313
path: .
14-
path: ./vendor
14+
path: vendor
1515
kind: LockConfig

ci/vendir.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ directories:
88
- path: . # Copy this folder out to ..
99
git:
1010
url: https://github.com/GaloyMoney/concourse-shared.git
11-
ref: 3d1a7c11c7967952e84231e39aa5425ad704d93d
11+
ref: a14ab78128be32e6e1d37f21def9a83351531bde
1212
includePaths:
1313
- shared/actions/*
1414
excludePaths:
@@ -20,7 +20,7 @@ directories:
2020
- path: .
2121
git:
2222
url: https://github.com/GaloyMoney/concourse-shared.git
23-
ref: 3d1a7c11c7967952e84231e39aa5425ad704d93d
23+
ref: a14ab78128be32e6e1d37f21def9a83351531bde
2424
includePaths:
2525
- shared/ci/**/*
2626
excludePaths:

ci/vendor/tasks/rust-check-code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ set -eu
77

88
pushd repo
99

10-
make check-code
10+
nix develop -c make check-code

0 commit comments

Comments
 (0)