Skip to content

Commit 988b54e

Browse files
author
Timofey Zubkov
committed
#66: integration with github actions
maven-gpg-plugin configuration is adjusted job timeouts are set to 10 minutes each
1 parent 8a79951 commit 988b54e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: .github/workflows/parso-ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
timeout-minutes: 10 # reasonable limits to be on the safe side
1112
steps:
1213
# checkout pull-request head reference with required security restrictions in case of "pull_request_target" event
1314
- name: Checkout PR
@@ -84,6 +85,7 @@ jobs:
8485

8586
publish-snapshot:
8687
needs: [ build ]
88+
timeout-minutes: 10 # reasonable limits to be on the safe side
8789
# runs only if the event is triggered against secure environment ("master" branch) and
8890
# produced artifact version is related to SNAPSHOT
8991
if: >
@@ -121,6 +123,7 @@ jobs:
121123

122124
publish-final:
123125
needs: [ build ]
126+
timeout-minutes: 10 # reasonable limits to be on the safe side
124127
# runs only if the event is triggered against secure environment ("master" branch) and
125128
# produced artifact version is final
126129
if: >

Diff for: pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@
186186
<configuration>
187187
<gpgArguments>
188188
<arg>--no-tty</arg>
189+
<!-- Prevent `gpg` from using pinentry programs -->
190+
<arg>--pinentry-mode</arg>
191+
<arg>loopback</arg>
189192
</gpgArguments>
190193
</configuration>
191194
<executions>

0 commit comments

Comments
 (0)