Skip to content

Commit

Permalink
Merge pull request #15 from mineiros-io/add-github-actions
Browse files Browse the repository at this point in the history
Switch CI from SemaphoreCI to GitHub actions
  • Loading branch information
soerenmartius authored Jul 10, 2020
2 parents f21b501 + 714cfdb commit 92b10e7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI/CD Pipeline

on: push

env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

jobs:
pre-commit:
runs-on: ubuntu-latest
name: Static Analysis
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run pre-commit
run: make test/pre-commit

unit-tests:
runs-on: ubuntu-latest
name: Unit Tests
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run Unit Tests
run: make test/unit-tests
24 changes: 0 additions & 24 deletions .semaphore/semaphore.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,13 @@ Copyright © 2020 [Mineiros GmbH][homepage]
[homepage]: https://mineiros.io/?ref=terraform-aws-iam-user
[[email protected]]: mailto:[email protected]

[badge-build]: https://mineiros.semaphoreci.com/badges/terraform-aws-iam-user/branches/master.svg?style=shields&key=e7037b28-8872-4dff-8ce1-484d8a971e8a
[badge-build]: https://github.com/mineiros-io/terraform-aws-iam-user/workflows/CI/CD%20Pipeline/badge.svg
[badge-semver]: https://img.shields.io/github/v/tag/mineiros-io/terraform-aws-iam-user.svg?label=latest&sort=semver
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack

[build-status]: https://mineiros.semaphoreci.com/projects/terraform-aws-iam-user
[build-status]: https://github.com/mineiros-io/terraform-aws-iam-user/actions
[releases-github]: https://github.com/mineiros-io/terraform-aws-iam-user/releases
[releases-terraform]: https://github.com/hashicorp/terraform/releases
[apache20]: https://opensource.org/licenses/Apache-2.0
Expand Down

0 comments on commit 92b10e7

Please sign in to comment.