File tree Expand file tree Collapse file tree 6 files changed +26
-16
lines changed Expand file tree Collapse file tree 6 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v3
1717 - uses : actions/setup-go@v3
18- - name : Install pact
19- run : |
20- curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.91.0/pact-1.91.0-linux-x86_64.tar.gz
21- tar -zxvf pact-1.91.0-linux-x86_64.tar.gz
22- sudo mv pact /usr/local/bin
23- echo "/usr/local/bin/pact/bin" >> $GITHUB_PATH
18+ with :
19+ go-version : ' ^1.18'
20+ - uses : replicatedhq/action-install-pact@v1
2421 - name : make test
2522 run : make test
2623 make-build :
Original file line number Diff line number Diff line change 1919 steps :
2020 - uses : actions/checkout@v3
2121 - uses : actions/setup-go@v3
22- - name : Install pact
23- run : |
24- curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.91.0/pact-1.91.0-linux-x86_64.tar.gz
25- tar -zxvf pact-1.91.0-linux-x86_64.tar.gz
26- sudo mv pact /usr/local/bin
27- echo "/usr/local/bin/pact/bin" >> $GITHUB_PATH
22+ with :
23+ go-version : ' ^1.18'
24+ - uses : replicatedhq/action-install-pact@v1
2825 - name : make test
2926 run : make test
3027 make-build :
Original file line number Diff line number Diff line change 1+ name : Require pull request labels
2+
3+ permissions :
4+ pull-requests : read
5+
6+ on :
7+ pull_request :
8+ types :
9+ - opened
10+ - labeled
11+ - unlabeled
12+ - synchronize
13+
14+ jobs :
15+ require-pr-labels :
16+ uses : replicatedhq/reusable-workflows/.github/workflows/pr-enforce-labels.yaml@main
Original file line number Diff line number Diff line change 1- FROM golang:1.17
1+ FROM golang:1.18
22
33ENV PROJECTPATH=/go/src/github.com/replicatedhq/replicated
44
Original file line number Diff line number Diff line change 11module github.com/replicatedhq/replicated
22
3- go 1.17
3+ go 1.18
44
55require (
66 github.com/fatih/color v1.7.0
Original file line number Diff line number Diff line change 1- FROM golang:1.17
1+ FROM golang:1.18
22
3- RUN cd /opt && curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.81 .0/pact-1.81 .0-linux-x86_64.tar.gz && tar xzf pact-1.81 .0-linux-x86_64.tar.gz
3+ RUN cd /opt && curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.91 .0/pact-1.91 .0-linux-x86_64.tar.gz && tar xzf pact-1.91 .0-linux-x86_64.tar.gz
44ENV PATH="/opt/pact/bin:${PATH}"
55
66WORKDIR /go/src/github.com/replicatedhq/replicated
You can’t perform that action at this time.
0 commit comments