Skip to content

Commit

Permalink
Merge pull request #77 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Improve GitHub Actions CI workflow
  • Loading branch information
andyone authored Aug 20, 2021
2 parents 6d6c213 + 32c0057 commit e56a5bd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
go: [ '1.15.x', '1.16.x' ]
go: [ '1.16.x', '1.17.x' ]

steps:
- name: Set up Go
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
needs: Go

env:
SHELLCHECK_VERSION: 0.7.1
SHELLCHECK_VERSION: 0.7.2

steps:
- name: Checkout
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
needs: Go

env:
HADOLINT_VERSION: 1.18.2
HADOLINT_VERSION: 2.6.1

steps:
- name: Checkout
Expand All @@ -130,3 +130,23 @@ jobs:
- name: Check Docker files
run: |
./hadolint centos7.docker
DockerBuild:
name: Docker Build Check
runs-on: ubuntu-latest

needs: Hadolint

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build CentOS 7 image
run: |
docker build -f centos7.docker -t centos7 .
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Information about bibop recipe syntax you can find in our [cookbook](COOKBOOK.md

#### From source

To build the `bibop` from scratch, make sure you have a working Go 1.15+ workspace ([instructions](https://golang.org/doc/install)), then:
To build the `bibop` from scratch, make sure you have a working Go 1.16+ workspace ([instructions](https://golang.org/doc/install)), then:

```
go get github.com/essentialkaos/bibop
Expand Down

0 comments on commit e56a5bd

Please sign in to comment.