Skip to content

Commit

Permalink
fix CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Jan 2, 2025
1 parent 0839ae1 commit a6f23f1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
run: go mod download -x

- name: Test
run: go run github.com/go-task/task/v3/cmd/task test.ci
run: go run github.com/go-task/task/v3/cmd/task test.ci
11 changes: 2 additions & 9 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,12 @@ name: Test and maybe create a new release

on:
push:
branches:
- v3
branches: [master, v3]
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: ./.github/workflows/reusable-testing.yml

uses: ./.github/workflows/reusable-testing.yml
tag:
runs-on: ubuntu-latest
needs: test
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/testing-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@ name: Go Test (manual run)
on:
workflow_dispatch:
inputs:
tag:
description: "Tag to checkout."
ref:
description: "Tag/commit to checkout."
type: string
required: true

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.inputs.tag }}
- uses: ./.github/workflows/reusable-testing.yml


uses: ./.github/workflows/reusable-testing.yml
with:
ref: ${{ inputs.ref }}

0 comments on commit a6f23f1

Please sign in to comment.