diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12039ed0a2..731b6bb484 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: branches: - master jobs: - tests-go-1-15: + tests-go-1-16: runs-on: ubuntu-latest env: GO111MODULE: on @@ -15,10 +15,10 @@ jobs: - name: Checkout Source uses: actions/checkout@v2 - name: Run Tests - uses: cedrickring/golang-action@1.6.0 + uses: cedrickring/golang-action@1.7.0 with: args: make test - tests-go-1-14: + tests-go-1-15: runs-on: ubuntu-latest env: GO111MODULE: on @@ -26,10 +26,10 @@ jobs: - name: Checkout Source uses: actions/checkout@v2 - name: Run Tests - uses: cedrickring/golang-action/go1.14@1.6.0 + uses: cedrickring/golang-action/go1.15@1.7.0 with: args: make test - tests-go-1-13: + tests-go-1-14: runs-on: ubuntu-latest env: GO111MODULE: on @@ -37,11 +37,11 @@ jobs: - name: Checkout Source uses: actions/checkout@v2 - name: Run Tests - uses: cedrickring/golang-action/go1.13@1.6.0 + uses: cedrickring/golang-action/go1.14@1.7.0 with: args: make test coverage: - needs: [tests-go-1-15, tests-go-1-14, tests-go-1-13] + needs: [tests-go-1-16, tests-go-1-15, tests-go-1-14] runs-on: ubuntu-latest env: GO111MODULE: on @@ -49,7 +49,7 @@ jobs: - name: Checkout Source uses: actions/checkout@v2 - name: Create Test Coverage - uses: cedrickring/golang-action@1.6.0 + uses: cedrickring/golang-action@1.7.0 with: args: make test-coverage - name: Upload Test Coverage diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6b1f3ed0a..26310d59ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.15.x + go-version: 1.16.x - name : Get release version id: get_version run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10}) @@ -34,6 +34,6 @@ jobs: name: securego/gosec username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - buildargs: GO_VERSION=1.15 + buildargs: GO_VERSION=1.16 tags: "latest,${{ env.RELEASE_VERSION }}" tag_names: true