Skip to content

Bump actions/setup-go from 6.3.0 to 6.4.0 #26

Bump actions/setup-go from 6.3.0 to 6.4.0

Bump actions/setup-go from 6.3.0 to 6.4.0 #26

Workflow file for this run

name: Tests
# Defines environmental variables
env:
GO_VERSION: '1.22.5'
on:
pull_request:
branches:
- main
jobs:
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# Setup Go
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "${{ env.GO_VERSION }}"
- name: Go fmt
run: go fmt ./...
- name: Build and Run
run: |
go build -o validate main.go
./validate
- name: Test with the Go CLI
run: go test