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

Bump gocloud.dev from 0.38.0 to 0.39.0 (#187) #332

Bump gocloud.dev from 0.38.0 to 0.39.0 (#187)

Bump gocloud.dev from 0.38.0 to 0.39.0 (#187) #332

Workflow file for this run

name: build
on:
push:
branches:
- main
env:
RELEASE: 1.3.0
permissions:
contents: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
CGO_ENABLED: "1"
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v4
with:
go-version: 'stable'
cache: true
- run: go mod download
- run: go test -cover -coverprofile=coverage.txt -covermode=atomic ./...
- name: Set Short SHA
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
version: ${{ env.RELEASE }}
- uses: actions/go-dependency-submission@v1
with:
go-mod-path: go.mod
# - name: Upload Test Results As Artifact
# uses: actions/upload-artifact@v2
# if: always()
# with:
# name: test_report
# path: test_report.html