Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Bump minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric Kring committed Apr 15, 2019
1 parent 5836432 commit 5757e6e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.12

LABEL name="Golang Action"
LABEL maintainer="Cedric Kring"
LABEL version="1.2.0"
LABEL version="1.3.0"
LABEL repository="https://github.com/cedrickring/golang-action"

LABEL com.github.actions.name="Golang Action"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This Action allows you to run Go commands with your code. It will automatically
## How to use

1. Add an Action
2. Enter "cedrickring/golang-action@1.2.0" (`cedrickring/golang-action/go1.10@1.2.0` for Golang 1.10, 1.11, 1.12, defaults to the latest golang version)
2. Enter "cedrickring/golang-action@1.3.0" (`cedrickring/golang-action/go1.10@1.3.0` for Golang 1.10, 1.11, 1.12, defaults to the latest golang version)
3. If your repo builds with `make` or `go build && go test`, that's all you need. Otherwise, add a command in the args section like:
```bash
go build -o my_executable main.go
Expand All @@ -26,7 +26,7 @@ block like this:
```hcl
action "ci" {
uses="cedrickring/golang-action@1.2.0"
uses="cedrickring/golang-action@1.3.0"
# optional build command:
args="./build.sh"
Expand All @@ -41,7 +41,7 @@ action "ci" {
If your project's go is not located at the root of the repo you can also specifiy environment variable `PROJECT_PATH`:
```hcl
action "test_vendored" {
uses="cedrickring/golang-action@1.2.0"
uses="cedrickring/golang-action@1.3.0"
# optional relative project path, default is root of repo e.g. "./":
env={
PROJECT_PATH = "./tests/projects/go_modules_vendored"
Expand All @@ -53,7 +53,7 @@ To use a specific golang version (1.10, 1.11, 1.12):

```hcl
action "ci" {
uses="cedrickring/golang-action/go1.12@1.2.0"
uses="cedrickring/golang-action/go1.12@1.3.0"
...
}
```
2 changes: 1 addition & 1 deletion go1.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.10

LABEL name="Golang Action"
LABEL maintainer="Cedric Kring"
LABEL version="1.2.0"
LABEL version="1.3.0"
LABEL repository="https://github.com/cedrickring/golang-action"

LABEL com.github.actions.name="Golang Action"
Expand Down
2 changes: 1 addition & 1 deletion go1.11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.11

LABEL name="Golang Action"
LABEL maintainer="Cedric Kring"
LABEL version="1.2.0"
LABEL version="1.3.0"
LABEL repository="https://github.com/cedrickring/golang-action"

LABEL com.github.actions.name="Golang Action"
Expand Down
2 changes: 1 addition & 1 deletion go1.12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.12

LABEL name="Golang Action"
LABEL maintainer="Cedric Kring"
LABEL version="1.2.0"
LABEL version="1.3.0"
LABEL repository="https://github.com/cedrickring/golang-action"

LABEL com.github.actions.name="Golang Action"
Expand Down

0 comments on commit 5757e6e

Please sign in to comment.