Skip to content

Commit

Permalink
fix(ci): Update Earthly to 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenj committed May 9, 2024
1 parent b9103fa commit 650e5bd
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# Set the Earthly version to 0.7
VERSION 0.8

IMPORT github.com/input-output-hk/catalyst-ci/earthly/mdlint:fix/improve-rust-builder-sj AS mdlint
IMPORT github.com/input-output-hk/catalyst-ci/earthly/cspell:fix/improve-rust-builder-sj AS cspell

VERSION 0.7
FROM debian:stable-slim

# cspell: words livedocs sitedocs

# check-markdown markdown check using catalyst-ci.
# check-markdown : markdown check using catalyst-ci.
check-markdown:
DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.7.0+CHECK
DO mdlint+CHECK

# markdown-check-fix markdown check and fix using catalyst-ci.
# markdown-check-fix : markdown check and fix using catalyst-ci.
markdown-check-fix:
LOCALLY

DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.7.0+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix
DO mdlint+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix

# check-spelling Check spelling in this repo inside a container.
# check-spelling : Check spelling in this repo inside a container.
check-spelling:
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v2.7.0+CHECK
DO cspell+CHECK

# check-spelling Check spelling in this repo inside a container.
# spell-list-words : List words in a dictionary
spell-list-words:
FROM ghcr.io/streetsidesoftware/cspell:8.0.0
WORKDIR /work
Expand All @@ -29,7 +31,7 @@ spell-list-words:
RUN cspell-cli --words-only --unique "wasm/**" | sort -f



# repo-docs : target to store the documentation from the root of the repo.
repo-docs:
# Create artifacts of extra files we embed inside the documentation when its built.
FROM scratch
Expand Down

0 comments on commit 650e5bd

Please sign in to comment.