Skip to content

Commit

Permalink
Поднял зависимость от версии среды и перевел workflow на autumn-libra…
Browse files Browse the repository at this point in the history
…ry/workflows
  • Loading branch information
sfaqer committed Aug 30, 2024
1 parent 5dce575 commit 3e6d6af
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 32 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Публикация релиза

on:
release:
types:
- published
workflow_dispatch:

jobs:
release:
uses: autumn-library/workflows/.github/workflows/release.yml@main
with:
package_mask: "collectionos-*.ospx"
secrets:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
41 changes: 10 additions & 31 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,16 @@
# MIT License
# Copyright (C) 2020 Tymko Oleg <[email protected]> and contributors
# All rights reserved.

name: Тестирование
# Любой пуш и pr в проекте
on: [push, pull_request]

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ${{ matrix.os }}
test:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
oscript_version: ['1.8.3', 'stable', 'dev', 'lts-dev']

steps:
# Загрузка проекта
- name: Актуализация
uses: actions/checkout@v2

# Установка OneScript конкретной версии
- name: Установка OneScript
uses: otymko/[email protected]
with:
version: ${{ matrix.oscript_version }}

# Установка зависимостей пакета
- name: Установка зависимостей
run: |
opm install opm
opm install -l --dev
# Задача тестирования, в результате ожидается успешное выполнение
- name: Тестирование
run: oscript ./tasks/test.os
oscript_version: ['dev', 'lts-dev', 'default']
uses: autumn-library/workflows/.github/workflows/test.yml@main
with:
oscript_version: ${{ matrix.oscript_version }}
2 changes: 1 addition & 1 deletion packagedef
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.Автор("Кирилл Черненко")
.АдресАвтора("https://github.com/sfaqer")
.Описание("Фреймворк коллекций для OneScript")
.ВерсияСреды("1.8.3")
.ВерсияСреды("1.9.1")

.ВключитьФайл("src")
.ВключитьФайл("README.md")
Expand Down

0 comments on commit 3e6d6af

Please sign in to comment.