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

Commit 6f0248e

Browse files
author
Taliesin Millhouse
authored
Update and rename ci.yml to ci.yaml
1 parent 7d8b4d6 commit 6f0248e

File tree

2 files changed

+35
-36
lines changed

2 files changed

+35
-36
lines changed

.github/workflows/ci.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
permissions:
10+
contents: write
11+
id-token: write
12+
jobs:
13+
lint:
14+
name: Lint
15+
uses: gofor-little/github-actions/.github/workflows/golang-lint.yaml@main
16+
test:
17+
name: Test
18+
uses: gofor-little/github-actions/.github/workflows/golang-test.yaml@main
19+
bump-tag:
20+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
21+
needs:
22+
- lint
23+
- test
24+
name: Bump Tag
25+
uses: gofor-little/github-actions/.github/workflows/bump-tag.yaml@main
26+
release:
27+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
28+
needs:
29+
- bump-tag
30+
name: Release
31+
uses: gofor-little/github-actions/.github/workflows/github-release.yaml@main
32+
with:
33+
tag: ${{ needs.bump-tag.outputs.bumped-tag }}
34+
secrets:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)