Skip to content

Merge pull request #47 from hypnoglow/dependabot/github_actions/actio… #91

Merge pull request #47 from hypnoglow/dependabot/github_actions/actio…

Merge pull request #47 from hypnoglow/dependabot/github_actions/actio… #91

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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
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 ./...