-
Notifications
You must be signed in to change notification settings - Fork 22
38 lines (33 loc) · 1.43 KB
/
update-dependencies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Update dependencies
on:
? workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # [email protected]
with:
submodules: true
- uses: actions/setup-java@a18c333f3f14249953dab3e186e5e21bf3390f1d # [email protected]
with:
distribution: 'corretto'
java-version: '8'
- uses: eskatos/gradle-command-action@fd32ae908111fe31afa48827bd1ee909540aa971 # [email protected]
with:
gradle-version: current
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
toolchain: stable
- run: sudo apt-get install -y libpcsclite-dev
- run: cargo install cargo-edit
- run: cd src/test/rust/simulator && cargo upgrade && cargo update && cargo test
- run: cd src/main/rust/cardtool && cargo upgrade && cargo update && cargo test
# dockerimage.yml is not triggered without repo scoped token, doing testing in the task, ref. https://github.com/peter-evans/create-pull-request/issues/48
- run: gradle build
- run: gradle -Pjc_version=3.0.5 --console=verbose clean cap --info
- name: Create Pull Request
uses: peter-evans/create-pull-request@671dc9c9e0c2d73f07fa45a3eb0220e1622f0c5f # [email protected]
with:
title: Update dependencies
commit-message: Update dependencies
delete-branch: true