File tree Expand file tree Collapse file tree 3 files changed +39
-16
lines changed Expand file tree Collapse file tree 3 files changed +39
-16
lines changed Original file line number Diff line number Diff line change 48
48
- name : Upload Coverage to Codecov
49
49
uses : codecov/codecov-action@v3
50
50
51
- lib-check :
52
- name : Check libraries
53
- runs-on : ubuntu-latest
54
- timeout-minutes : 5
55
- steps :
56
- - name : Checkout
57
- uses : actions/checkout@v3
58
- with :
59
- fetch-depth : 0
60
- - name : Check libs
61
- uses :
canonical/charming-actions/[email protected]
62
- with :
63
- credentials : " ${{ secrets.CHARMHUB_TOKEN }}"
64
- github-token : " ${{ secrets.GITHUB_TOKEN }}"
65
-
66
51
build :
67
52
name : Build charms
68
53
uses : canonical/data-platform-workflows/.github/workflows/build_charms_with_cache.yaml@v2
101
86
free-disk-space : true
102
87
name : ${{ matrix.tox-environments }} | ${{ matrix.agent-versions }}
103
88
needs :
104
- - lib-check
105
89
- lint
106
90
- unit-test
107
91
- build
Original file line number Diff line number Diff line change
1
+ # Copyright 2022 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
+ schedule :
18
+ - cron : ' 53 0 * * *' # Daily at 00:53 UTC
19
+ # Triggered on push to branch "main" by .github/workflows/release.yaml
20
+ workflow_call :
21
+
22
+ jobs :
23
+ lib-check :
24
+ name : Check libraries
25
+ runs-on : ubuntu-latest
26
+ timeout-minutes : 5
27
+ if : ${{ github.event.pull_request.head.repo.full_name == 'canonical/postgresql-operator' }}
28
+ steps :
29
+ - name : Checkout
30
+ uses : actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
31
+ with :
32
+ fetch-depth : 0
33
+ - name : Check libs
34
+ uses :
canonical/charming-actions/[email protected]
35
+ with :
36
+ credentials : " ${{ secrets.CHARMHUB_TOKEN }}"
37
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
38
+
Original file line number Diff line number Diff line change 13
13
- poetry.lock
14
14
- pyproject.toml
15
15
- ' .github/workflows/ci.yaml'
16
+ - ' .github/workflows/lib-check.yaml'
16
17
17
18
jobs :
18
19
ci-tests :
You can’t perform that action at this time.
0 commit comments