Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 20 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
on:
pull_request:
branches:
branches:
- main
paths-ignore:
- "**/*.md"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.14.0'
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.23.4"

- name: Setup GO environment
run: |
go mod download
go get -t .

- name: Lint
run: |
golint -set_exit_status ./...
- name: Setup GO environment
run: |
go mod download
go get -t .

- name: Vet
run: |
go vet ./...
- name: Vet
run: |
go vet ./...

- name: Unit tests
run: |
sudo go test ./... -coverprofile coverage.out -covermode count
sudo go tool cover -func coverage.out
- name: Unit tests
run: |
sudo go test ./... -coverprofile coverage.out -covermode count
sudo go tool cover -func coverage.out

- name: Build
run: |
go build -o wireframe
- name: Build
run: |
go build -o wireframe
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# specific to the project
config.yml
example

# Created by .ignore support plugin (hsz.mobi)
### Go template
# Binaries for programs and plugins
Expand Down Expand Up @@ -258,4 +262,4 @@ wireframe-darwin
!internal/wireframe

# Dir may be created during dev/debugging
main/
main/
4 changes: 0 additions & 4 deletions CODEOWNERS

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PACKNAME=SVC
PACKNAME=example
BUILD_FLAGS=-X 'main.GitCommitHash=`git rev-parse --short HEAD`' -X 'main.BuiltAt=`date +%FT%T%z`'
BUILD_WIN=@env GOOS=windows GOARCH=amd64 go build -o $(PACKNAME).exe
BUILD_LINUX=@env GOOS=linux GOARCH=amd64 go build -o $(PACKNAME)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Privateer Raid SVC
# Privateer Raid example

This wireframe is designed to quickly get your service pack repository up to speed!

Expand Down
Loading
Loading