Skip to content

Commit

Permalink
fix(ci): dependabot & ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jfk9w committed Sep 2, 2023
1 parent c1bf9ca commit c5278bb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [ push, pull_request_target, workflow_dispatch ]
on: [ push, workflow_dispatch ]

jobs:
test:
Expand All @@ -27,6 +27,10 @@ jobs:
if: github.event_name == 'push' && github.ref_type == 'branch' && github.ref_name == 'master'
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: stable
- name: Coverage
uses: ncruces/go-coverage-report@main
- name: Tag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
gh pr merge --auto --merge --delete-branch "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PRIVATE_TOKEN }}
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/jfk9w-go/lkdr-api

go 1.21

toolchain go1.21.0

require (
github.com/AlekSi/pointer v1.2.0
github.com/caarlos0/env v3.5.0+incompatible
Expand Down

0 comments on commit c5278bb

Please sign in to comment.