diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02ca2cd..b451181 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: ci +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: schedule: - cron: '0 10 * * *' @@ -20,8 +24,6 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 - with: - go-version: 1.14 - name: Build Windows executables run: | @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b56d366..c488bc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: diff --git a/tests/app/go.mod b/tests/app/go.mod index afeb2f7..04a5741 100644 --- a/tests/app/go.mod +++ b/tests/app/go.mod @@ -1,3 +1,3 @@ module github.com/crazy-max/ghaction-virustotal/test/app -go 1.14 +go 1.20