File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Code test on PR
2+
3+ on :
4+ pull_request :
5+ branches : [master]
6+ env :
7+ GH_TOKEN : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
8+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
9+ AWS_REGION : ${{ secrets.AWS_REGION }}
10+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
11+ GPG_KEY : ${{ secrets.GPG_KEY }}
12+
13+ jobs :
14+ test :
15+ runs-on : kroo-runners
16+ container :
17+ image : 711525892256.dkr.ecr.eu-west-1.amazonaws.com/b-social/docker-pipeline-builder
18+ options : --add-host host.docker.internal:host-gateway
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v4
22+ with :
23+ ref : ${{ github.event.pull_request.head.ref }}
24+ repository : ${{ github.event.pull_request.head.repo.full_name }}
25+ - name : Test
26+ run : |
27+ . .github/workflows/setup-runner.sh
28+ start_docker
29+ ./go
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env -S bash -l
2+ . $HOME /.profile
3+ . /opt/dockerd/docker_daemon.sh
4+
5+ export GITHUB_ACTOR=bigmansocial
6+ export GITHUB_TOKEN=$GH_TOKEN
7+ export VAULT_ADDR=https://secret-store-default.management.b-anti-social.io
8+
9+ git config --global --add safe.directory /__w/halboy/halboy
10+
11+ if [ -d .git-crypt ]; then
12+ echo " $GPG_KEY " | gpg --import -
13+ git crypt unlock
14+ fi
15+
16+ git config --global url." https://$GITHUB_ACTOR :$GITHUB_TOKEN @github.com" .insteadOf https://github.com
Original file line number Diff line number Diff line change 33 :license {:name " MIT License"
44 :url " https://opensource.org/licenses/MIT" }
55 :url " https://github.com/jimmythompson/halboy"
6- :dependencies [[org.clojure/clojure " 1.11.1 " ]
6+ :dependencies [[org.clojure/clojure " 1.11.2 " ]
77 [org.clojure/core.rrb-vector " 0.1.2" ]
88 [http-kit " 2.6.0" ]
99 [cheshire " 5.11.0" ]
You can’t perform that action at this time.
0 commit comments