Skip to content

Commit 18a6b72

Browse files
authored
More specific rules for CI tests (#28)
* Do not run CI tests when pushing tags * Remove replacements in goreleaser config
1 parent 209ff6f commit 18a6b72

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
on: [push, pull_request]
21
name: tests
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags-ignore:
7+
- '**'
8+
pull_request:
39
jobs:
410
test:
511
strategy:

.goreleaser.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ archives:
2121
- format_overrides:
2222
- goos: windows
2323
format: zip
24-
replacements:
25-
darwin: Darwin
26-
linux: Linux
27-
windows: Windows
28-
386: i386
29-
amd64: x86_64
3024
checksum:
3125
name_template: 'checksums.txt'
3226
snapshot:

0 commit comments

Comments
 (0)