Commit e3cb027 1 parent 77650ad commit e3cb027 Copy full SHA for e3cb027
File tree 2 files changed +16
-7
lines changed
2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Lint
2
2
3
3
on : [push, pull_request, workflow_dispatch]
4
4
5
+ env :
6
+ FORCE_COLOR : 1
7
+
5
8
permissions :
6
9
contents : read
7
10
10
13
runs-on : ubuntu-latest
11
14
12
15
steps :
13
- - uses : actions/checkout@v3
14
- - uses : actions/setup-python@v4
16
+ - uses : actions/checkout@v4
17
+ with :
18
+ persist-credentials : false
19
+ - uses : actions/setup-python@v5
15
20
with :
16
21
python-version : " 3.x"
17
- - uses : pre-commit /action@v3.0.0
22
+ - uses : tox-dev /action-pre-commit-uv@v1
Original file line number Diff line number Diff line change
1
+ name : Create release
2
+
1
3
on :
2
4
push :
3
5
# Sequence of patterns matched against refs/tags
4
6
tags :
5
7
- ' [0-9]+\.[0-9]+'
6
8
7
- name : Create release
9
+ env :
10
+ FORCE_COLOR : 1
8
11
9
12
jobs :
10
13
build :
11
14
name : Create release
12
15
runs-on : ubuntu-latest
13
16
steps :
14
17
- name : Checkout code
15
- uses : actions/checkout@v3
16
-
18
+ uses : actions/checkout@v4
19
+ with :
20
+ persist-credentials : false
17
21
- name : Get the version
18
22
id : get_version
19
23
if : startsWith(github.ref, 'refs/tags/')
20
24
run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
21
25
22
26
- name : Create release
23
- uses : softprops/action-gh-release@v1
27
+ uses : softprops/action-gh-release@v2
24
28
with :
25
29
name : Release ${{ steps.get_version.outputs.VERSION }}
You can’t perform that action at this time.
0 commit comments