File tree Expand file tree Collapse file tree 2 files changed +33
-20
lines changed Expand file tree Collapse file tree 2 files changed +33
-20
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2025 Canonical Ltd.
2
+ # See LICENSE file for licensing details.
3
+ name : Check libs
4
+
5
+ concurrency :
6
+ group : ${{ github.workflow }}-${{ github.ref }}
7
+ cancel-in-progress : true
8
+
9
+ on :
10
+ pull_request :
11
+ paths-ignore :
12
+ - ' .gitignore'
13
+ - ' .jujuignore'
14
+ - ' LICENSE'
15
+ - ' **.md'
16
+ - ' renovate.json'
17
+
18
+ jobs :
19
+ lib-check :
20
+ name : Check libraries
21
+ runs-on : ubuntu-latest
22
+ timeout-minutes : 5
23
+ if : ${{ github.event.pull_request.head.repo.full_name == 'canonical/mysql-k8s-operator' }}
24
+ steps :
25
+ - name : Checkout
26
+ uses : actions/checkout@v4
27
+ with :
28
+ fetch-depth : 0
29
+ - name : Check libs
30
+ uses :
canonical/charming-actions/[email protected]
31
+ with :
32
+ credentials : " ${{ secrets.CHARMHUB_TOKEN }}"
33
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 38
38
- name : Upload Coverage to Codecov
39
39
uses : codecov/codecov-action@v5
40
40
41
- lib-check :
42
- name : Check libraries
43
- runs-on : ubuntu-latest
44
- timeout-minutes : 5
45
- steps :
46
- - name : Checkout
47
- uses : actions/checkout@v4
48
- with :
49
- fetch-depth : 0
50
- - run : |
51
- # Workaround for https://github.com/canonical/charmcraft/issues/1389#issuecomment-1880921728
52
- touch requirements.txt
53
- - name : Check libs
54
- uses :
canonical/charming-actions/[email protected]
55
- with :
56
- credentials : ${{ secrets.CHARMHUB_TOKEN }}
57
- github-token : ${{ secrets.GITHUB_TOKEN }}
58
- use-labels : false
59
- fail-build : ${{ github.event_name == 'pull_request' }}
60
-
61
41
build :
62
42
name : Build charm
63
43
uses :
canonical/data-platform-workflows/.github/workflows/[email protected]
You can’t perform that action at this time.
0 commit comments