Skip to content

Commit

Permalink
fix workflows (#4)
Browse files Browse the repository at this point in the history
* change master to main

* fix typo in workflow

* remove coverprofile from gitignore

* update .gitignore

* make linter skip test files
  • Loading branch information
billiford authored Jan 25, 2021
1 parent 9581db8 commit 9d10662
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 113 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
me: Go
name: Go

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:

Expand Down Expand Up @@ -46,4 +46,4 @@ jobs:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.29

args: --enable wsl --timeout 180s
args: --skip-files .*_test.go --enable wsl --timeout 180s
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*.so
*.dylib

# Don't ignore the test folder, it has .exe files we use for testing.
!pkg/test/**

# Test binary, built with `go test -c`
*.test

Expand All @@ -18,3 +21,4 @@ vendor/
bin/
scratch/
/procswap
*.coverprofile
109 changes: 0 additions & 109 deletions pkg/pkg.coverprofile

This file was deleted.

Binary file added pkg/test/priorities/test1.exe
Binary file not shown.
Binary file added pkg/test/priorities/test2.exe
Binary file not shown.
Binary file added pkg/test/priorities/wait.exe
Binary file not shown.
Binary file added pkg/test/priorities/wait_linux.exe
Binary file not shown.
Binary file added pkg/test/swaps/swap.exe
Binary file not shown.

0 comments on commit 9d10662

Please sign in to comment.