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

Commit

Permalink
build: adding working directory (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 authored Apr 1, 2024
1 parent 2ffaa54 commit c5c26b7
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit c5c26b7

Please sign in to comment.