Skip to content

Bump actions/setup-go from 4 to 5 #8

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #8

Workflow file for this run

name: Pull Requests
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
pull-requests: read
env:
GO_VERSION: stable
jobs:
build:
strategy:
matrix:
dir: ["."]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Build
run: go build -v ./...
working-directory: ${{ matrix.dir }}
- name: Test
run: go test -v ./...
working-directory: ${{ matrix.dir }}
lint:
strategy:
matrix:
dir: ["."]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
working-directory: ${{ matrix.dir }}