Skip to content

Commit

Permalink
Tidy up workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
ghokun committed Jul 13, 2024
1 parent 3d64403 commit f163d43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: golangci-lint
on:
pull_request:
push:
branches:
- main
pull_request:

permissions:
contents: read
Expand All @@ -18,11 +18,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=5m
version: v1.59
version: latest
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: goreleaser

on:
push:
tags:
Expand Down

0 comments on commit f163d43

Please sign in to comment.