Bump golang from 18d2f94
to 2eb2527
#352
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 | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ '**' ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: [self-hosted, arm64] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Set up Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: '>=1.23.0' | |
cache: false | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... |