File tree 4 files changed +41
-22
lines changed
4 files changed +41
-22
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 2
3
+ updates :
4
+ - package-ecosystem : " github-actions"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " weekly"
8
+ groups :
9
+ actions :
10
+ patterns :
11
+ - " *"
Original file line number Diff line number Diff line change 10
10
name : Run CircleCI artifacts redirector
11
11
steps :
12
12
- name : GitHub Action step
13
- uses : larsoner/circleci-artifacts-redirector-action@master
13
+ uses :
14
+ scientific-python/circleci-artifacts-redirector-action@4e13a10d89177f4bfc8007a7064bdbeda848d8d1 # v1.0.0
14
15
with :
15
16
repo-token : ${{ secrets.GITHUB_TOKEN }}
16
17
api-token : ${{ secrets.CIRCLECI_TOKEN }}
Original file line number Diff line number Diff line change 3
3
name : Linting
4
4
on : [pull_request]
5
5
6
+ permissions :
7
+ contents : read
8
+
6
9
jobs :
7
10
flake8 :
8
11
name : flake8
9
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ checks : write
10
15
steps :
11
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
+ with :
18
+ persist-credentials : false
12
19
13
20
- name : Set up Python 3
14
- uses : actions/setup-python@v1
21
+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
15
22
with :
16
- python-version : 3.8
23
+ python-version : ' 3.x '
17
24
18
25
- name : Install flake8
19
26
run : pip3 install 'flake8>=3.8'
20
27
21
28
- name : Set up reviewdog
22
- run : |
23
- mkdir -p "$HOME/bin"
24
- curl -sfL \
25
- https://github.com/reviewdog/reviewdog/raw/master/install.sh | \
26
- sh -s -- -b "$HOME/bin"
27
- echo "$HOME/bin" >> $GITHUB_PATH
29
+ uses : reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.9
28
30
29
31
- name : Run flake8
30
32
env :
Original file line number Diff line number Diff line change 6
6
types :
7
7
- published
8
8
9
+ permissions :
10
+ contents : read
11
+
9
12
jobs :
10
13
build :
11
14
name : Build Release Packages
12
15
runs-on : ubuntu-latest
13
16
steps :
14
- - uses : actions/checkout@v4
17
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
18
with :
16
- fetch-depth : 10
19
+ fetch-depth : 0
20
+ persist-credentials : false
17
21
18
22
- name : Set up Python
19
23
id : setup
20
- uses : actions/setup-python@v4
24
+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
21
25
with :
22
- python-version : 3.x
26
+ python-version : ' 3.x'
23
27
24
28
- name : Install build tools
25
29
run : |
30
34
run : python -m build
31
35
32
36
- name : Save built packages as artifact
33
- uses : actions/upload-artifact@v3
37
+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
34
38
with :
35
39
name : packages-${{ runner.os }}-${{ steps.setup.outputs.python-version }}
36
40
path : dist/
@@ -43,15 +47,16 @@ jobs:
43
47
runs-on : ubuntu-latest
44
48
environment : release
45
49
permissions :
50
+ attestations : write
51
+ contents : read
46
52
id-token : write
47
53
steps :
48
54
- name : Download packages
49
- uses : actions/download-artifact@v3
50
-
51
- - name : Consolidate packages for upload
52
- run : |
53
- mkdir dist
54
- cp packages-*/* dist/
55
+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
56
+ with :
57
+ pattern : packages-*
58
+ path : dist
59
+ merge-multiple : true
55
60
56
61
- name : Publish package distributions to PyPI
57
- uses : pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
62
+ uses : pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
You can’t perform that action at this time.
0 commit comments