Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqcode committed Sep 4, 2024
1 parent a3c6d20 commit fd71a2a
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .circleci/conditional_config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
version: 2.1

orbs:
node: circleci/[email protected]
codecov: codecov/[email protected]
node: circleci/[email protected]
go: circleci/[email protected]
codecov: codecov/[email protected]

executors:
base:
Expand All @@ -27,25 +28,15 @@ jobs:
## Backend
test_app:
executor: go
working_directory: ~/go/src/github.com/ArtalkJS/Artalk
environment:
GO111MODULE: "on"
working_directory: ~/repo
steps:
- checkout
- run:
name: "Print the Go version"
command: >
go version
- restore_cache:
keys:
- go-mod-1.22.6-{{ checksum "go.sum" }}
- run:
name: Install Dependencies
command: go mod download
- save_cache:
key: go-mod-1.22.6-{{ checksum "go.sum" }}
paths:
- "~/go/pkg/mod"
command: go version
- go/load-cache
- go/mod-download
- go/save-cache
- run:
name: Run tests
command: |
Expand Down

0 comments on commit fd71a2a

Please sign in to comment.