Skip to content

Commit

Permalink
Merge pull request #2 from envato/migrate_CI_to_GitHubActions
Browse files Browse the repository at this point in the history
Migrate ci to git hub actions
  • Loading branch information
Bing-Violet authored Feb 7, 2022
2 parents dd6e841 + aa3f670 commit 1210a13
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .buildkite/pipeline.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: tests
on: [push, pull_request]
jobs:
plugin-tests:
name: Tests
runs-on: ubuntu-latest
container:
image: buildkite/plugin-tester:latest
volumes:
- "${{github.workspace}}:/plugin"
steps:
- uses: actions/checkout@v2
- name: tests
run: bats tests/
plugin-lint:
name: Lint
runs-on: ubuntu-latest
container:
image: buildkite/plugin-linter:latest
volumes:
- "${{github.workspace}}:/plugin"
steps:
- uses: actions/checkout@v2
- name: lint
run: lint --id envato/aws-cloudfront-invalidation
plugin-shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ShellCheck
uses: ludeeus/[email protected]
with:
check_together: 'yes'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AWS Cloudfront Invalidation Buildkite Plugin

![Build status](https://badge.buildkite.com/bc93ae8fdb633030909b9c42fc0a89a6712d4407c387209706.svg?branch=main)
[![tests](https://github.com/envato/aws-cloudfront-invalidation-buildkite-plugin/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/envato/aws-cloudfront-invalidation-buildkite-plugin/actions/workflows/tests.yml)
[![MIT License](https://img.shields.io/badge/License-MIT-brightgreen.svg)](LICENSE)

A [Buildkite plugin] that invalidates AWS Cloudfront caches.
Expand Down

0 comments on commit 1210a13

Please sign in to comment.