diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c74ad9c..7e0b28b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,17 @@ on: branches: - master jobs: + tests-go-1-15: + runs-on: ubuntu-latest + env: + GO111MODULE: on + steps: + - name: Checkout Source + uses: actions/checkout@v2 + - name: Run Tests + uses: cedrickring/golang-action/go1.15@1.5.1 + with: + args: make test tests-go-1-14: runs-on: ubuntu-latest env: @@ -15,7 +26,7 @@ jobs: - name: Checkout Source uses: actions/checkout@v2 - name: Run Tests - uses: cedrickring/golang-action@1.5.1 + uses: cedrickring/golang-action/go1.14@1.5.1 with: args: make test tests-go-1-13: @@ -29,19 +40,8 @@ jobs: uses: cedrickring/golang-action/go1.13@1.5.1 with: args: make test - tests-go-1-12: - runs-on: ubuntu-latest - env: - GO111MODULE: on - steps: - - name: Checkout Source - uses: actions/checkout@v2 - - name: Run Tests - uses: cedrickring/golang-action/go1.12@1.5.1 - with: - args: make test coverage: - needs: [tests-go-1-14, tests-go-1-13, tests-go-1-12] + needs: [tests-go-1-15, tests-go-1-14, tests-go-1-13] runs-on: ubuntu-latest env: GO111MODULE: on diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5945148..e24c800 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.14.x + go-version: 1.15.x - name : Get release version id: get_version run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10}) @@ -33,6 +33,6 @@ jobs: name: securego/gosec username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - buildargs: GO_VERSION=1.14 + buildargs: GO_VERSION=1.15 tags: "latest,${{ env.RELEASE_VERSION }}" tag_names: true