Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

using negative interruptibleFailureThreshold as complementary (#403) #238

using negative interruptibleFailureThreshold as complementary (#403)

using negative interruptibleFailureThreshold as complementary (#403) #238

Workflow file for this run

name: Master
on:
push:
branches:
- master
jobs:
bump-version:
name: Bump Version
if: github.event.commits[0].author.name != 'goreleaserbot'
runs-on: ubuntu-latest
outputs:
version: ${{ steps.bump-version.outputs.tag }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Bump version and push tag
id: bump-version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
goreleaser:
name: Goreleaser
runs-on: ubuntu-latest
needs: [bump-version]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.19'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.FLYTE_BOT_PAT }}
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.19'
- name: Unit Tests
run: make install && make test_unit_codecov
- name: Push CodeCov
uses: codecov/[email protected]
with:
file: coverage.txt
flags: unittests
fail_ci_if_error: false
lint:
name: Run lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.19'
- name: Lint
run: make install && make lint