Skip to content

Commit

Permalink
chore(ci): prevents duplicate workflow runs
Browse files Browse the repository at this point in the history
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
  • Loading branch information
fredbi committed Feb 1, 2024
1 parent 9fea0cf commit 91a8d68
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/go-test.yml
@@ -1,6 +1,17 @@
name: go test

on: [push, pull_request]
on:
push:
tags:
- v*
branches:
- master
paths-ignore:
- '**.md'

pull_request:
paths-ignore:
- '**.md'

jobs:
lint:
Expand All @@ -27,7 +38,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
go_version: ['oldstable', 'stable', '1.19' ]
go_version: ['oldstable', 'stable', '1.19']

steps:
- name: Run unit tests
Expand Down

0 comments on commit 91a8d68

Please sign in to comment.