Skip to content

Commit

Permalink
Merge pull request #7 from darkwizard242/feature/refactoring
Browse files Browse the repository at this point in the history
Set tasks fqmn, update action versions and matrixes
  • Loading branch information
darkwizard242 authored Feb 16, 2023
2 parents 04616ec + a149063 commit 584250e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 17 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
code_quality:

name: SonarCloud Code Quality Check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:

- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: 'darkwizard242.bravebrowser'
fetch-depth: 0
Expand All @@ -45,23 +45,23 @@ jobs:
build:

name: Build & Test
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
max-parallel: 6
matrix:
IMAGE: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, rockylinux-8, debian-buster]
IMAGE: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, rockylinux-8, debian-bullseye, debian-buster]

steps:

- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: 'darkwizard242.bravebrowser'

- name: Set up Python 3.10.0
uses: actions/setup-python@v2
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.10.0
python-version: '3.10'

- name: Update repo cache, install python3-setuptools and required pip modules
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
release:

name: Release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:

- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: 'darkwizard242.bravebrowser'

- name: Set up Python 3.10.0
uses: actions/setup-python@v2
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.10.0
python-version: '3.10'

- name: Update repo cache, install python3-setuptools and required pip modules
run: |
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Ali Muhammad
Copyright (c) 2023 Ali Muhammad

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ galaxy_info:
platforms:
- name: Ubuntu
versions:
- bionic
- focal
- jammy
- bionic
- name: Debian
versions:
- bullseye
- buster
- name: EL
versions:
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# tasks file for bravebrowser

- name: Import install_debian.yml if OS family is Debian
import_tasks: install_debian.yml
ansible.builtin.import_tasks: install_debian.yml
when: ansible_os_family == "Debian"

- name: Import install_el.yml if OS family is EL
import_tasks: install_el.yml
ansible.builtin.import_tasks: install_el.yml
when: ansible_os_family == "RedHat"

0 comments on commit 584250e

Please sign in to comment.