From 7d3e3bb7cc63109b1c624bc42f15068ad87fbf8d Mon Sep 17 00:00:00 2001 From: Dargon789 <64915515+Dargon789@users.noreply.github.com> Date: Mon, 27 Apr 2026 08:50:07 +0700 Subject: [PATCH] Refactor CircleCI config for testing workflow Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> --- .circleci/config.yml | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 709c9a7474..2ef62819f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,26 +1,22 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/configuration-reference - version: 2.1 -executors: - my-custom-executor: - docker: - - image: cimg/base:stable - auth: - # ensure you have first added these secrets - # visit app.circleci.com/settings/project/github/Dargon789/hardhat-project/environment-variables - username: $DOCKER_HUB_USER - password: $DOCKER_HUB_PASSWORD + jobs: - web3-defi-game-project-: - - executor: my-custom-executor + test: + docker: + - image: ghcr.io/foundry-rs/foundry:latest steps: - checkout - - run: | - # echo Hello, World! - + - run: + name: Install submodules + command: git submodule update --init --recursive + - run: + name: Build + command: forge build + - run: + name: Test + command: forge test -vvv + workflows: - my-custom-workflow: + main: jobs: - - web3-defi-game-project- + - test