@@ -16,19 +16,22 @@ jobs:
1616 - ' 2.6'
1717 - ' 2.7'
1818 - ' 2.8'
19+ - ' 2.9'
20+ nightly : [false]
1921 include :
20- - {runs-on: ubuntu-18.04, tarantool: '1.10'}
21- - {runs-on: ubuntu-16.04, tarantool: '1.10'}
22+ - {runs-on: ubuntu-18.04, tarantool: '1.10', nightly: true }
23+ - {runs-on: ubuntu-16.04, tarantool: '1.10', nightly: true }
2224 runs-on : ${{ matrix.runs-on }}
2325 env :
24- TARANTOOL_CACHE_KEY_SUFFIX : -${{ github.run_id }}
26+ TARANTOOL_CACHE_KEY_SUFFIX : -A- ${{ github.run_id }}
2527 steps :
2628 - uses : actions/checkout@v2
2729
2830 - id : get-latest
2931 run : |
3032 node <<'SCRIPT'
3133 process.env["INPUT_TARANTOOL-VERSION"] = "${{ matrix.tarantool }}"
34+ process.env["INPUT_NIGHTLY-BUILD"] = "${{ matrix.nightly }}"
3235 require("./dist/main").latest_version().then(v => {
3336 console.log(v)
3437 console.log(`::set-output name=version::${v}`)
3942 uses : ./
4043 with :
4144 tarantool-version : ${{ matrix.tarantool }}
45+ nightly-build : ${{ matrix.nightly }}
4246
4347 - name : Check precise version
4448 run : |
5256 uses : ./
5357 with :
5458 tarantool-version : ${{ matrix.tarantool }}
59+ nightly-build : ${{ matrix.nightly }}
60+
61+ - name : Verify install from cache
62+ run : |
63+ # Fail if tarantool is installed from apt-get
64+ if dpkg -s tarantool; then
65+ echo "Tarantool wasn't restored from cache"
66+ exit 1
67+ fi
5568
5669 - name : Check branch version
5770 run : |
7083 runs-on : [ubuntu-20.04, ubuntu-20.04, ubuntu-20.04]
7184 runs-on : ${{ matrix.runs-on }}
7285 env :
73- TARANTOOL_CACHE_KEY_SUFFIX : -${{ github.run_id }}
86+ TARANTOOL_CACHE_KEY_SUFFIX : -B- ${{ github.run_id }}
7487 steps :
7588 - uses : actions/checkout@v2
7689 - name : Setup Tarantool
0 commit comments