File tree Expand file tree Collapse file tree 8 files changed +34
-10
lines changed
Expand file tree Collapse file tree 8 files changed +34
-10
lines changed Original file line number Diff line number Diff line change 1010 matrix :
1111 charm-type : ["jimm","jimm-k8s"]
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+ fetch-tags : true
1417 - run : git fetch --prune --unshallow
1518 - run : sudo snap install charmcraft --channel=2.x/stable --classic
1619 - run : sudo charmcraft pack --project-dir ./charms/${{ matrix.charm-type }} --destructive-mode --verbosity=trace
Original file line number Diff line number Diff line change 2727 timeout-minutes : 60
2828 steps :
2929 - name : Checkout
30- uses : actions/checkout@v3
30+ uses : actions/checkout@v4
3131 with :
3232 fetch-depth : 0
33+ fetch-tags : true
3334 - name : Build local images
3435 run : make jimm-image
3536 - name : Upload charm to charmhub
5253 timeout-minutes : 60
5354 steps :
5455 - name : Checkout
55- uses : actions/checkout@v3
56+ uses : actions/checkout@v4
5657 with :
5758 fetch-depth : 0
59+ fetch-tags : true
5860 - uses : actions/download-artifact@master
5961 with :
6062 name : jimm-snap
Original file line number Diff line number Diff line change 2121 working-directory : ./charms/${{ matrix.charm-type }}
2222 steps :
2323 - name : Checkout
24- uses : actions/checkout@v3
24+ uses : actions/checkout@v4
25+ with :
26+ fetch-depth : 0
27+ fetch-tags : true
2528 - name : Install dependencies
2629 run : python3 -m pip install tox
2730 - name : Run linters
3740 working-directory : ./charms/${{ matrix.charm-type }}
3841 steps :
3942 - name : Checkout
40- uses : actions/checkout@v3
43+ uses : actions/checkout@v4
44+ with :
45+ fetch-depth : 0
46+ fetch-tags : true
4147 - name : Install dependencies
4248 run : python -m pip install tox
4349 - name : Run tests
Original file line number Diff line number Diff line change 1818 build-charm :
1919 runs-on : ubuntu-20.04
2020 steps :
21- - uses : actions/checkout@v3
21+ - uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+ fetch-tags : true
2225 - run : git fetch --prune --unshallow
2326 - run : sudo snap install charmcraft --channel=2.x/stable --classic
2427 - run : charmcraft pack --project-dir ./charms/${{ inputs.charm }} --destructive-mode
Original file line number Diff line number Diff line change 2828 name : Build and Test
2929 runs-on : ubuntu-20.04
3030 steps :
31- - uses : actions/checkout@v3
31+ - uses : actions/checkout@v4
32+ with :
33+ fetch-tags : true
34+ fetch-depth : 0
3235 - uses : actions/setup-go@v4
3336 with :
3437 go-version-file : ' go.mod'
Original file line number Diff line number Diff line change 66 candid-oci-image :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v3
9+ - uses : actions/checkout@v4
10+ with :
11+ fetch-depth : 0
12+ fetch-tags : true
1013 - run : git fetch --prune --unshallow
1114 - uses : actions/setup-go@v4
1215 with :
Original file line number Diff line number Diff line change 1717 snap : ${{ steps.snapcraft.outputs.snap }}
1818 runs-on : ubuntu-latest
1919 steps :
20- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
2121 with :
2222 fetch-depth : 0
23+ fetch-tags : true
2324 - name : scripts
2425 run : |
2526 mkdir -p ./snap
Original file line number Diff line number Diff line change 1010 build-snap :
1111 runs-on : ubuntu-20.04
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+ fetch-tags : true
1417 - run : git fetch --prune --unshallow
1518 - uses : actions/setup-go@v4
1619 with :
You can’t perform that action at this time.
0 commit comments