@@ -5,7 +5,7 @@ name: stratis-cli CI
55on :
66 push :
77 branches :
8- - master
8+ - patch-3.6.0
99 paths-ignore :
1010 - ' CHANGES.txt'
1111 - ' **/README.rst'
1414 - ' .packit.yaml'
1515 pull_request :
1616 branches :
17- - master
17+ - patch-3.6.0
1818 paths-ignore :
1919 - ' CHANGES.txt'
2020 - ' **/README.rst'
@@ -41,41 +41,46 @@ jobs:
4141 python3-packaging
4242 python3-psutil
4343 python3-wcwidth
44- task: PYTHONPATH=./src make -f Makefile lint
44+ task: >
45+ PATH=${PATH}:/github/home/.local/bin PYTHONPATH=./src
46+ make -f Makefile lint
4547 - dependencies : black python3-isort
4648 task : make -f Makefile fmt-ci
4749 - dependencies : shfmt
4850 task : make -f Makefile fmt-shell-ci
4951 runs-on : ubuntu-latest
50- container : fedora:38 # CURRENT DEVELOPMENT ENVIRONMENT
52+ container : fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
5153 steps :
52- - uses : actions/checkout@v3
54+ - uses : actions/checkout@v4
5355 - name : Install dependencies
5456 run : >
5557 dnf install -y
5658 make
59+ pip
5760 python-unversioned-command
5861 ${{ matrix.dependencies }}
5962 - name : Display Python version
6063 run : python --version
64+ - name : Install pyright
65+ run : pip install --user pyright
6166 - name : Run test
6267 run : ${{ matrix.task }}
6368
6469 check-typos :
6570 runs-on : ubuntu-latest
66- container : fedora:38 # CURRENT DEVELOPMENT ENVIRONMENT
71+ container : fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
6772 steps :
6873 - name : Install dependencies
6974 run : >
7075 dnf install -y
7176 clang
7277 glibc-static
7378 make
74- - uses : actions/checkout@v3
79+ - uses : actions/checkout@v4
7580 - uses : dtolnay/rust-toolchain@master
7681 with :
7782 components : cargo
78- toolchain : 1.73.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
83+ toolchain : 1.77.2 # CURRENT DEVELOPMENT RUST TOOLCHAIN
7984 - uses : baptiste0928/cargo-install@v2
8085 with :
8186 crate : typos-cli
@@ -89,10 +94,10 @@ jobs:
8994 # MANDATORY CHECKS USING CURRENT DEVELOPMENT ENVIRONMENT
9095 - task : make -f Makefile all-tests
9196 rust_log : RUST_LOG=stratisd=debug
92- image : fedora:38 # CURRENT DEVELOPMENT ENVIRONMENT
97+ image : fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
9398 - task : make -f Makefile coverage-no-html
9499 rust_log :
95- image : fedora:38 # CURRENT DEVELOPMENT ENVIRONMENT
100+ image : fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
96101 # MANDATORY CHECKS USING LOWEST SUPPORTED ENVIRONMENT PROXY
97102 - task : make -f Makefile all-tests
98103 rust_log : RUST_LOG=stratisd=debug
@@ -103,7 +108,7 @@ jobs:
103108 # yamllint disable rule:line-length
104109 options : --privileged --userns=host --ipc=host -v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:ro -v /usr/share/dbus-1:/usr/share/dbus-1
105110 steps :
106- - uses : actions/checkout@v3
111+ - uses : actions/checkout@v4
107112 - name : Install dependencies
108113 run : >
109114 dnf install -y
@@ -131,6 +136,9 @@ jobs:
131136 toolchain : 1.71.1 # LOWEST SUPPORTED RUST TOOLCHAIN
132137 - name : Check out stratisd
133138 run : git clone https://github.com/stratis-storage/stratisd.git
139+ - name : Use stratisd 3.6.7
140+ run : git checkout tags/stratisd-v3.6.7 -b version-3.6.7
141+ working-directory : ./stratisd
134142 - name : Build stratisd
135143 run : PROFILEDIR=debug make build-all
136144 working-directory : ./stratisd
@@ -166,7 +174,7 @@ jobs:
166174 steps :
167175 - name : Display Python version
168176 run : python3 --version
169- - uses : actions/checkout@v3
177+ - uses : actions/checkout@v4
170178 - name : Install dependencies
171179 run : >
172180 dnf install -y
0 commit comments