66 flake8 :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/setup-python@v3
9+ - uses : actions/setup-python@v4
10+ with : {python-version: 3}
1011 - name : Installing dependencies
1112 run : |
1213 # installing dependencies
1314 python -m pip install --upgrade pip
1415 pip install --upgrade flake8
15- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1617 with : { path: snapshot }
1718 - name : Executing `flake8`
1819 run : |
2223 pytest :
2324 runs-on : ubuntu-latest
2425 steps :
25- - uses : actions/setup-python@v3
26+ - uses : actions/setup-python@v4
27+ with : {python-version: 3}
2628 - name : Installing dependencies
2729 run : |
2830 # installing dependencies
@@ -45,12 +47,12 @@ jobs:
4547 raise RuntimeError("bad state")
4648 EOF
4749 chmod +x ./temporary/bin/unshare
48- - uses : actions/checkout@v3
50+ - uses : actions/checkout@v4
4951 with : { path: snapshot }
5052 - name : Installing this package
5153 run : pip install --upgrade ./snapshot
5254 - id : cache
53- uses : actions/cache@v3
55+ uses : actions/cache@v4
5456 with :
5557 key : oci/examples/nginx/${{ hashFiles('snapshot/examples/nginx') }}
5658 path : temporary/oci
7577 - if : failure()
7678 run : sudo tar --create --directory=temporary -- . | xz > test-context.tar.xz
7779 - if : failure()
78- uses : actions/upload-artifact@v3
80+ uses : actions/upload-artifact@v4
7981 with :
8082 name : test-context
8183 path : test-context.tar.xz
0 commit comments