Skip to content

Merge pull request #48 from hypnoglow/dependabot/github_actions/golan… #89

Merge pull request #48 from hypnoglow/dependabot/github_actions/golan…

Merge pull request #48 from hypnoglow/dependabot/github_actions/golan… #89

Workflow file for this run

name: main
on:
push:
branches:
- master
pull_request:
jobs:
verify-root:
name: Verify root module
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: |
go mod download
go mod vendor
- name: Run linters
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.31
args: --verbose
- name: Run tests
run: |
go test -v ./...
verify-gopgv9:
name: Verify gopgv9
runs-on: ubuntu-latest
defaults:
run:
working-directory: gopgv9
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: |
go mod download
go mod vendor
- name: Run linters
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.31
working-directory: gopgv9
args: --verbose
- name: Run tests
run: |
go test -v ./...
verify-gopgv10:
name: Verify gopgv10
runs-on: ubuntu-latest
defaults:
run:
working-directory: gopgv10
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: |
go mod download
go mod vendor
- name: Run linters
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.31
working-directory: gopgv10
args: --verbose
- name: Run tests
run: |
go test -v ./...