Skip to content

Commit

Permalink
ci: missing concurrency checks
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Sep 10, 2023
1 parent e9a84ba commit 7f31b0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: ci

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

on:
schedule:
- cron: '0 10 * * *'
Expand All @@ -20,8 +24,6 @@ jobs:
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.14
-
name: Build Windows executables
run: |
Expand All @@ -37,7 +39,3 @@ jobs:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
./tests/app/*.exe
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: test

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

on:
push:
branches:
- 'master'
- 'releases/v*'
pull_request:
branches:
- 'master'
- 'releases/v*'

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion tests/app/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/crazy-max/ghaction-virustotal/test/app

go 1.14
go 1.20

0 comments on commit 7f31b0c

Please sign in to comment.