Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

build: adding working directory #103

Merged
merged 1 commit into from
Apr 1, 2024
Merged
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
6 changes: 4 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ COPY_METADATA:

rust-base:
FROM rust:1.70.0
WORKDIR /tmp/starling-bank-technical-challenge


check-clean-git-history:
Expand Down Expand Up @@ -65,7 +66,7 @@ check-go-formatting:


sh-formatting-base:
FROM golang
FROM +golang-base
RUN go install mvdan.cc/sh/v3/cmd/[email protected]
DO +COPY_CI_DATA

Expand All @@ -76,7 +77,7 @@ check-shell-formatting:


yaml-formatting-base:
FROM golang
FROM +golang-base
RUN go install github.com/google/yamlfmt/cmd/[email protected]
COPY ".yamlfmt" ".yamlfmt"
DO +COPY_CI_DATA
Expand Down Expand Up @@ -131,6 +132,7 @@ ubuntu-base:
FROM ubuntu:22.04
# https://askubuntu.com/questions/462690/what-does-apt-get-fix-missing-do-and-when-is-it-useful
RUN apt-get update --fix-missing
WORKDIR /tmp/starling-bank-technical-challenge


check-shell-linting:
Expand Down
Loading