Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Nov 14, 2024
1 parent 591f56d commit 5c56345
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@ name: test
on:
pull_request:
push:
branches:
- main
schedule:
- cron: '0 0 1 * *'
- cron: "0 0 1 * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.20.5"
go-version: go.mod
- uses: golangci/golangci-lint-action@v4
with:
args: -E misspell,gofmt
- run: make
env:
TEST_GCAL_API_KEY: ${{ secrets.TEST_GCAL_API_KEY }}
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
run:
timeout: 5m
linters:
enable:
- misspell
- gosimple

0 comments on commit 5c56345

Please sign in to comment.