Skip to content

Commit

Permalink
ci: bump versions of stuff that is used in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
olegrok committed Apr 30, 2024
1 parent 38ead88 commit 1b8583d
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 37 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/asan_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,37 @@ name: asan_testing

on:
push:
branches:
- master
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
linux:
# We want to run on external PRs, but not on our own internal
# PRs as they'll be run by the push to the branch.
#
# The main trick is described here:
# https://github.com/Dart-Code/Dart-Code/pull/2375
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v3
with:
python-version: '3.10'

- name: Clone the module
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: 'tests/requirements.txt'

- name: Start Kafka
uses: ybyzek/[email protected]
with:
type: cp-all-in-one-community

- name: Install Python dependencies
run: pip3 install -r tests/requirements.txt
run: pip install -r tests/requirements.txt

- name: Build module
run: |
Expand Down
29 changes: 15 additions & 14 deletions .github/workflows/fast_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@ name: fast_testing

on:
push:
branches:
- master
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
linux:
# We want to run on external PRs, but not on our own internal
# PRs as they'll be run by the push to the branch.
#
# The main trick is described here:
# https://github.com/Dart-Code/Dart-Code/pull/2375
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

strategy:
fail-fast: false
matrix:
tarantool:
- '2.10'
- '2.11'

runs-on: ubuntu-latest
steps:
Expand All @@ -27,22 +26,24 @@ jobs:
with:
tarantool-version: ${{ matrix.tarantool }}

- uses: actions/setup-python@v3
with:
python-version: '3.10'

- name: Clone the module
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: 'tests/requirements.txt'

- name: Start Kafka
uses: ybyzek/[email protected]
with:
type: cp-all-in-one-community

- name: Install Python dependencies
run: pip3 install -r tests/requirements.txt
run: pip install -r tests/requirements.txt

- name: Build module
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
version-check:
# We need this job to run only on push with tag.
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check module version
uses: tarantool/actions/check-module-version@master
Expand All @@ -19,9 +19,9 @@ jobs:

publish-scm-1:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: tarantool/rocks.tarantool.org/github-action@master
with:
auth: ${{ secrets.ROCKS_AUTH }}
Expand All @@ -30,12 +30,12 @@ jobs:
publish-tag:
if: startsWith(github.ref, 'refs/tags/')
needs: version-check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: tarantool/setup-tarantool@v1
with:
tarantool-version: '2.10'
tarantool-version: '2.11'
# Make a release
- run: echo TAG=${GITHUB_REF##*/} >> $GITHUB_ENV
- run: tarantoolctl rocks new_version --tag ${{ env.TAG }}
Expand Down
8 changes: 4 additions & 4 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pytest==7.3.1
pytest-timeout==2.1.0
pytest==8.2.0
pytest-timeout==2.3.1
kafka-python==2.0.2
aiokafka==0.8.0
tarantool==1.0.0
aiokafka==0.10.0
tarantool==1.2.0

0 comments on commit 1b8583d

Please sign in to comment.