]> git.r.bdr.sh - rbdr/mobius/blobdiff - .circleci/config.yml
Bump dependencies
[rbdr/mobius] / .circleci / config.yml
index 4b6752dc08ea53a3471cd938724eca5c67742efb..c1cffb82cd4ddc4a2e2e986781700cb237441775 100644 (file)
@@ -4,7 +4,7 @@ jobs:
   build:
     working_directory: ~/repo
     docker:
-      - image: cimg/go:1.19.1
+      - image: cimg/go:1.21.4
     steps:
       - checkout
 #      - restore_cache:
@@ -27,12 +27,12 @@ jobs:
 
   deploy:
     docker:
-      - image: cimg/go:1.19.1
+      - image: cimg/go:1.21.4
 #    working_directory: /go/src/github.com/jhalter/mobius
     steps:
       - checkout
       - run: go get -u github.com/mitchellh/gox
-      - run: go get -u github.com/tcnksm/ghr
+      - run: go install github.com/tcnksm/ghr@latest
       - run: go install github.com/stevenmatthewt/semantics@latest
       - run:
           name: cross compile
@@ -43,8 +43,6 @@ jobs:
           name: create release
           command: |
             tag=$(/home/circleci/go/bin/semantics --output-tag)
-            # temp troubleshooting >:(
-            find / -name ghr
             if [ "$tag" ]; then
               /home/circleci/go/bin/ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/
             else