Skip to content

Commit

Permalink
Merge pull request #154 from atc0005/ghaw-refactor
Browse files Browse the repository at this point in the history
Refactor GitHub Actions workflows to import logic
  • Loading branch information
atc0005 authored Sep 25, 2022
2 parents 153a8a5 + a936310 commit 6fc4348
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 359 deletions.
69 changes: 0 additions & 69 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

102 changes: 0 additions & 102 deletions .github/workflows/lint-and-build-code.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/lint-and-build-using-make.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/lint-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2022 Adam Chalkley
#
# https://github.com/atc0005/go-nagios
#
# Licensed under the MIT License. See LICENSE file in the project root for
# full license information.

name: Lint and Build

# Run builds for Pull Requests (new, updated)
# `synchronized` seems to equate to pushing new commits to a linked branch
# (whether force-pushed or not)
on:
pull_request:
types: [opened, synchronize]

jobs:
lint_and_build_using_ci_matrix:
name: CI matrix
uses: atc0005/shared-project-resources/.github/workflows/lint-and-build-using-ci-matrix.yml@master

lint_and_build_using_makefile:
name: Makefile
uses: atc0005/shared-project-resources/.github/workflows/lint-and-build-using-make.yml@master
62 changes: 0 additions & 62 deletions .github/workflows/lint-and-test-only.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/lint-docs.yml

This file was deleted.

Loading

0 comments on commit 6fc4348

Please sign in to comment.