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

Commit

Permalink
Update and rename ci.yml to ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Taliesin Millhouse authored Jan 6, 2023
1 parent 7d8b4d6 commit 6f0248e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 36 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: write
id-token: write
jobs:
lint:
name: Lint
uses: gofor-little/github-actions/.github/workflows/golang-lint.yaml@main
test:
name: Test
uses: gofor-little/github-actions/.github/workflows/golang-test.yaml@main
bump-tag:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs:
- lint
- test
name: Bump Tag
uses: gofor-little/github-actions/.github/workflows/bump-tag.yaml@main
release:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs:
- bump-tag
name: Release
uses: gofor-little/github-actions/.github/workflows/github-release.yaml@main
with:
tag: ${{ needs.bump-tag.outputs.bumped-tag }}
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
36 changes: 0 additions & 36 deletions .github/workflows/ci.yml

This file was deleted.

0 comments on commit 6f0248e

Please sign in to comment.