diff --git a/.circleci/config.yml b/.circleci/config.yml index d563a70db..11be687a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,16 +7,16 @@ jobs: steps: - checkout - run: git submodule update --init - - save_cache: - key: "cuberite-{{ .Environment.CIRCLE_SHA1 }}" + - persist_to_workspace: + root: ~/ paths: - - ~/cuberite + - cuberite check_basic_style: working_directory: ~/cuberite/src docker: *cube_docker steps: - - restore_cache: { keys: [ "cuberite-{{ .Environment.CIRCLE_SHA1 }}" ] } + - attach_workspace: { at: ~/ } - run: find . -name \*.cpp -or -name \*.h > AllFiles.lst - run: lua CheckBasicStyle.lua - run: cd Bindings && lua CheckBindingsDependencies.lua @@ -25,7 +25,7 @@ jobs: working_directory: ~/cuberite docker: *cube_docker steps: - - restore_cache: { keys: [ "cuberite-{{ .Environment.CIRCLE_SHA1 }}" ] } + - attach_workspace: { at: ~/ } - run: ./clang-tidy.sh -j 2 workflows: