Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed Feb 14, 2024
1 parent 7715513 commit f37ade4
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-labels-standardized.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'add labels standardized'
name: add labels standardized

on:
issues:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/add-to-project-garage-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: 'add to project garage dependabot'
name: add to project garage dependabot

on:
pull_request:
branches: [main]

jobs:

add-to-project-dependabot:
secrets:
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@main
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v1
with:
project: ${{ vars.SENZING_PROJECT_GARAGE }}
9 changes: 5 additions & 4 deletions .github/workflows/add-to-project-garage.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'add to project garage'
name: add to project garage

on:
issues:
Expand All @@ -8,11 +8,12 @@ on:

jobs:
add-to-project:
name: Add issue to project
name: add issue to project
runs-on: ubuntu-latest

steps:
- name: Assign issue to project
- name: assign issue to project
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_GARAGE }}
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
project-url: https://github.com/orgs/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_GARAGE }}
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-approve-and-merge.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'dependabot approve and merge'
name: dependabot approve and merge

on:
pull_request:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docker-build-container.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'docker build container'
name: docker build container

on:
pull_request:
Expand All @@ -9,8 +9,9 @@ on:
jobs:
docker-build-container:
runs-on: ubuntu-latest

steps:
- name: Build docker image
- name: build docker image
uses: senzing-factory/github-action-docker-buildx-build@v1
with:
image-repository: senzing/test-ground
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docker-push-containers-to-dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'docker push containers to dockerhub'
name: docker push containers to dockerhub

on:
push:
Expand All @@ -8,8 +8,9 @@ on:
jobs:
docker-push-containers-to-dockerhub:
runs-on: ubuntu-latest

steps:
- name: Build docker image and push to DockerHub
- name: build docker image and push to DockerHub
uses: senzing-factory/github-action-docker-buildx-build@v1
with:
build-options: "--push"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/go-proxy-pull.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'go proxy pull'
name: go proxy pull

on:
push:
Expand All @@ -11,8 +11,9 @@ permissions:
jobs:
go-proxy-pull:
runs-on: ubuntu-latest

steps:
- name: Pull new module version
- name: pull new module version
uses: andrewslotin/go-proxy-pull-action@v1.1.0
with:
import_path: github.com/senzing-garage/template-go
11 changes: 6 additions & 5 deletions .github/workflows/go-test-darwin.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'go test darwin'
name: go test darwin

on: [push]

Expand All @@ -11,22 +11,23 @@ permissions:

jobs:
go-test-darwin:
name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["1.21"]
os: [macos-latest]
name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"

steps:
- name: Checkout repository
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup go
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Run go test
- name: run go test
run: go test -v -p 1 ./...
11 changes: 6 additions & 5 deletions .github/workflows/go-test-linux.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'go test linux'
name: go test linux

on: [push]

Expand All @@ -7,22 +7,23 @@ permissions:

jobs:
go-test-linux:
name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["1.21"]
os: [ubuntu-latest]
name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"

steps:
- name: Checkout repository
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup go
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Run go test
- name: run go test
run: go test -v -p 1 ./...
11 changes: 6 additions & 5 deletions .github/workflows/go-test-windows.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'go test windows'
name: go test windows

on: [push]

Expand All @@ -7,22 +7,23 @@ permissions:

jobs:
go-test-windows:
name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["1.21"]
os: [windows-latest]
name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"

steps:
- name: Checkout repository
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup go
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Run go test
- name: run go test
run: go test -v -p 1 ./...
2 changes: 1 addition & 1 deletion .github/workflows/gofmt.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'gofmt'
name: gofmt

on:
pull_request:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/gosec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'gosec'
name: gosec

on:
push:
Expand All @@ -16,11 +16,12 @@ jobs:
runs-on: ubuntu-latest
env:
GO111MODULE: on

steps:
- name: Checkout Source
- name: checkout repository
uses: actions/checkout@v4

- name: Run Gosec Security Scanner
- name: run Gosec Security Scanner
uses: securego/gosec@v2.19.0
with:
args: ./...
3 changes: 2 additions & 1 deletion .github/workflows/lint-workflows.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'lint workflows'
name: lint workflows

on:
push:
Expand All @@ -9,6 +9,7 @@ on:
permissions:
contents: read
packages: read
pull-requests: read
statuses: write

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/make-go-github-file.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'make go github file'
name: make go github file

on:
push:
Expand All @@ -11,8 +11,8 @@ permissions:

jobs:
make-go-github-file:
uses: senzing-factory/build-resources/.github/workflows/make-go-github-file.yaml@v1
secrets:
SENZING_GITHUB_ACTOR: ${{ secrets.SENZING_GITHUB_ACTOR }}
SENZING_GITHUB_GPG_PASSPHRASE: ${{ secrets.SENZING_GITHUB_GPG_PASSPHRASE }}
SENZING_GITHUB_GPG_PRIVATE_KEY: ${{ secrets.SENZING_GITHUB_GPG_PRIVATE_KEY }}
uses: senzing-factory/build-resources/.github/workflows/make-go-github-file.yaml@v1
9 changes: 5 additions & 4 deletions .github/workflows/make-go-tag.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'make go tag'
name: make go tag

on:
push:
Expand All @@ -10,11 +10,12 @@ permissions:

jobs:
make-go-tag:
name: Make a vM.m.P tag
name: make a vM.m.P tag
runs-on: ubuntu-latest

steps:
- name: Checkout repository
- name: checkout repository
uses: actions/checkout@v4

- name: Make go version tag
- name: make go version tag
uses: senzing-factory/github-action-make-go-tag@v1

0 comments on commit f37ade4

Please sign in to comment.