Skip to content

Commit

Permalink
Update circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Aug 12, 2024
1 parent 1c59065 commit e1c1173
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
version: 2
version: '2.1'
orbs:
go: circleci/[email protected]
jobs:
build:
docker:
- image: circleci/golang:1.16.5
working_directory: ~/code
executor:
name: go/default
tag: '1.22.6'
steps:
- checkout
- run: sudo apt-get update && sudo apt-get install -y upx
- restore_cache:
key: go-pkg-{{ checksum "go.sum" }}
- go/load-cache
- run: ./build-release.sh
- save_cache:
paths:
- /go/pkg
key: go-pkg-{{ checksum "go.sum" }}
- go/save-cache
- store_artifacts:
path: bin
destination: bin
workflows:
main:
jobs:
- build

0 comments on commit e1c1173

Please sign in to comment.