Skip to content

Update module github.com/stretchr/testify to v1.9.0 #75

Update module github.com/stretchr/testify to v1.9.0

Update module github.com/stretchr/testify to v1.9.0 #75

Workflow file for this run

name: Release
on:
pull_request:
push:
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run GoReleaser Validation
run: docker run
-e GITHUB_TOKEN=${{ secrets.GORELEASER_GITHUB_TOKEN }}
-e CGO_ENABLED=1
--rm
--privileged
-v $GITHUB_WORKSPACE:/go/src/github.com/AndreasSko/go-jwlm
-v /var/run/docker.sock:/var/run/docker.sock
-w /go/src/github.com/AndreasSko/go-jwlm
goreleaser/goreleaser-cross:v1.20
--skip-publish
--skip-validate
if: ${{ github.event_name == 'pull_request' }}
- name: Run GoReleaser Publish
run: docker run
-e GITHUB_TOKEN=${{ secrets.GORELEASER_GITHUB_TOKEN }}
-e CGO_ENABLED=1
--rm
--privileged
-v $GITHUB_WORKSPACE:/go/src/github.com/AndreasSko/go-jwlm
-v /var/run/docker.sock:/var/run/docker.sock
-w /go/src/github.com/AndreasSko/go-jwlm
goreleaser/goreleaser-cross:v1.20
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}