mirror of
https://github.com/roles-ansible/ansible_role_rtl_nic_firmware.git
synced 2024-08-16 13:39:50 +02:00
update github actions
This commit is contained in:
parent
0ed97ce062
commit
825722d6d2
12 changed files with 48 additions and 40 deletions
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with debian:bullseye
|
||||
- name: 'ansible check with debian:bullseye'
|
||||
uses: roles-ansible/check-ansible-debian-bullseye-action@main
|
||||
with:
|
||||
targets: "./"
|
||||
|
|
6
.github/workflows/ansible-debian-buster.yml
vendored
6
.github/workflows/ansible-debian-buster.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with debian:buster
|
||||
- name: 'ansible check with debian:buster'
|
||||
uses: roles-ansible/check-ansible-debian-buster-action@master
|
||||
with:
|
||||
targets: "./"
|
||||
|
|
6
.github/workflows/ansible-debian-latest.yml
vendored
6
.github/workflows/ansible-debian-latest.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with debian:latest
|
||||
- name: 'ansible check with debian:latest'
|
||||
uses: roles-ansible/check-ansible-debian-latest-action@master
|
||||
with:
|
||||
targets: "./"
|
||||
|
|
6
.github/workflows/ansible-debian-sid.yml
vendored
6
.github/workflows/ansible-debian-sid.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with debian:sid
|
||||
- name: 'ansible check with debian:sid'
|
||||
uses: roles-ansible/check-ansible-debian-sid-action@master
|
||||
with:
|
||||
targets: "./"
|
||||
|
|
11
.github/workflows/ansible-debian-stable.yml
vendored
11
.github/workflows/ansible-debian-stable.yml
vendored
|
@ -2,7 +2,11 @@
|
|||
name: Ansible check debian:stable
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -10,9 +14,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with debian:stable
|
||||
- name: 'ansible check with debian:stable'
|
||||
uses: roles-ansible/check-ansible-debian-stable-action@master
|
||||
with:
|
||||
targets: "./"
|
||||
|
|
6
.github/workflows/ansible-debian-stretch.yml
vendored
6
.github/workflows/ansible-debian-stretch.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with debian:stretch
|
||||
- name: 'ansible check with debian:stretch'
|
||||
uses: roles-ansible/check-ansible-debian-stretch-action@master
|
||||
with:
|
||||
targets: "./"
|
||||
|
|
6
.github/workflows/ansible-linting-check.yml
vendored
6
.github/workflows/ansible-linting-check.yml
vendored
|
@ -10,13 +10,13 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Lint Ansible Playbook
|
||||
- name: 'Lint Ansible Playbook'
|
||||
uses: ansible/ansible-lint-action@v6
|
||||
with:
|
||||
targets: "."
|
||||
|
|
6
.github/workflows/ansible-ubuntu-bionic.yml
vendored
6
.github/workflows/ansible-ubuntu-bionic.yml
vendored
|
@ -6,13 +6,13 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with ubuntu:bionic
|
||||
- name: 'ansible check with ubuntu:bionic'
|
||||
uses: roles-ansible/check-ansible-ubuntu-bionic-action@master
|
||||
with:
|
||||
targets: "./"
|
||||
|
|
4
.github/workflows/ansible-ubuntu-latest.yml
vendored
4
.github/workflows/ansible-ubuntu-latest.yml
vendored
|
@ -6,11 +6,11 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with ubuntu:latest
|
||||
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
|
||||
|
|
4
.github/workflows/ansible-ubuntu-trusty.yml
vendored
4
.github/workflows/ansible-ubuntu-trusty.yml
vendored
|
@ -6,11 +6,11 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ansible check with ubuntu:trusty
|
||||
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
|
||||
|
|
10
.github/workflows/galaxy.yml
vendored
10
.github/workflows/galaxy.yml
vendored
|
@ -12,9 +12,11 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.1.0
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: 'release on galaxy'
|
||||
uses: robertdebock/galaxy-action@1.2.0
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
git_branch: 'main'
|
||||
|
|
17
.github/workflows/yamllint.yaml
vendored
17
.github/workflows/yamllint.yaml
vendored
|
@ -2,21 +2,22 @@
|
|||
name: 'Yamllint GitHub Actions'
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
|
||||
jobs:
|
||||
yamllint:
|
||||
name: 'Yamllint'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@master
|
||||
- name: 'checkout git repo'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: 'Yamllint'
|
||||
uses: karancode/yamllint-github-action@master
|
||||
uses: karancode/yamllint-github-action@v2.0.0
|
||||
with:
|
||||
yamllint_file_or_dir: '.'
|
||||
yamllint_config_filepath: './.yamllint'
|
||||
yamllint_strict: false
|
||||
yamllint_comment: true
|
||||
# env:
|
||||
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }
|
||||
|
|
Loading…
Reference in a new issue