Skip to content

Merge pull request #43 from hypnoglow/dependabot/github_actions/actio… #73

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

Merge pull request #43 from hypnoglow/dependabot/github_actions/actio… #73

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: |
go mod download
go mod vendor
- name: Run linters
uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: |
go mod download
go mod vendor
- name: Run linters
uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: |
go mod download
go mod vendor
- name: Run linters
uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0
with:
version: v1.31
working-directory: gopgv10
args: --verbose
- name: Run tests
run: |
go test -v ./...