Skip to content

Commit

Permalink
Combine workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sitiom committed Nov 4, 2021
1 parent b19bad3 commit efdd48a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/auto-merge.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ci

on:
push:
branches: [ main ]
pull_request_target:
branches: [ main ]

jobs:
test-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install dotfiles
run: ./install
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install dotfiles
run: .\install-windows.ps1
dependabot-auto-merge:
needs: [test-ubuntu, test-windows]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]' }}
steps:
- uses: fastify/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
21 changes: 0 additions & 21 deletions .github/workflows/tests.yml

This file was deleted.

0 comments on commit efdd48a

Please sign in to comment.