Skip to content

Commit

Permalink
Merge pull request #310 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 27, 2022
2 parents 9d3678c + 982aa6c commit 7d0ef2f
Show file tree
Hide file tree
Showing 11 changed files with 90 additions and 440 deletions.
69 changes: 0 additions & 69 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/lint-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2022 Adam Chalkley
#
# https://github.com/atc0005/check-mail
#
# 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
with:
# Indicate to imported workflow that the gogeninstall Makefile recipe is
# needed.
gogeninstall: true
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.

32 changes: 0 additions & 32 deletions .github/workflows/lint-docker-files.yml

This file was deleted.

Loading

0 comments on commit 7d0ef2f

Please sign in to comment.