This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Bump actions/checkout from 4.1.7 to 4.2.0 (#72) #301
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test Go | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.3 | |
- name: Checkout | |
uses: actions/checkout@v4.2.0 | |
- name: Build | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
run: go build ./... | |
# - name: Test | |
# env: | |
# GOPROXY: "https://proxy.golang.org" | |
# run: go test -v . | |
- name: Vet | |
run: go vet ./... | |
- uses: dominikh/staticcheck-action@v1.3.1 | |
with: | |
version: latest | |
install-go: false |