Merge pull request #38 from libyui/sp7 #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
container: | |
image: registry.opensuse.org/devel/libraries/libyui/containers/libyui-devel:latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Configure git | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Install Dependencies | |
run: zypper --non-interactive install --no-recommends "rubygem(`rpm --eval '%{rb_default_ruby_abi}'`:rubocop:1.24.1)" yast2-devtools | |
# just for easier debugging... | |
- name: Inspect Installed Packages | |
run: rpm -qa | sort | |
- name: Rubocop | |
run: rubocop | |
- name: Package | |
run: ./ci-build |