Skip to content

Commit

Permalink
delint, latest CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrothstein committed Nov 16, 2022
1 parent bed751c commit 7bdf024
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
Expand Down Expand Up @@ -34,8 +34,8 @@ jobs:
- ubuntu_bionic
- ubuntu_focal
- ubuntu_jammy
python-versions:
- '3.9'
python-version:
- '3.10'
name: dcb
'on':
- push
16 changes: 8 additions & 8 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,47 @@
paths:
- '{{ role_path }}/vars'
- name: check for install in {{ matchbox_install_dir }}
become: yes
become: true
become_user: root
stat:
path: '{{ matchbox_install_dir }}'
changed_when: False
changed_when: false
register: matchbox_binary
- when: not matchbox_binary.stat.exists
block:
- name: downloading {{ matchbox_tgz_url }}
become: yes
become: true
become_user: root
get_url:
url: '{{ matchbox_tgz_url }}'
dest: '{{ matchbox_tmp_tgz }}'
checksum: '{{ matchbox_checksum }}'
mode: 0644
- name: unarchiving {{ matchbox_tmp_tgz }} to {{ matchbox_install_parent_dir }}
become: yes
become: true
become_user: root
unarchive:
remote_src: yes
remote_src: true
src: '{{ matchbox_tmp_tgz }}'
dest: '{{ matchbox_install_parent_dir }}'
creates: '{{ matchbox_install_dir }}'
always:
- name: rm {{ matchbox_tmp_tgz }}
become: yes
become: true
become_user: root
file:
path: '{{ matchbox_tmp_tgz }}'
state: absent
- name: linking {{ matchbox_link_dir }} to {{ matchbox_install_dir }}
become: yes
become: true
become_user: root
file:
src: '{{ matchbox_install_dir }}'
dest: '{{ matchbox_link_dir }}'
state: link

- name: linking {{ matchbox_link }} to {{ matchbox_install_exe }}
become: yes
become: true
become_user: root
file:
src: '{{ matchbox_install_exe }}'
Expand Down
1 change: 0 additions & 1 deletion tests/inventory

This file was deleted.

5 changes: 0 additions & 5 deletions tests/test.yml

This file was deleted.

0 comments on commit 7bdf024

Please sign in to comment.