This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
feat: Dask add pod template support (#374) #232
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |