Skip to content

Bump actions/setup-go from 6.1.0 to 6.2.0 #405

Bump actions/setup-go from 6.1.0 to 6.2.0

Bump actions/setup-go from 6.1.0 to 6.2.0 #405

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
goyek:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: '1.25'
cache-dependency-path: '**/go.sum'
- name: Build
run: ./goyek.sh -v all diff
compatibility-test:
strategy:
fail-fast: false
matrix:
go-version:
- '1.24'
- '1.25'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ matrix.go-version }}
- run: go test -race ./...
compatibility-check:
runs-on: ubuntu-latest
if: ${{ always() }}
needs: [compatibility-test]
steps:
- name: Test if compatibility-test passed
run: |
echo ${{ needs.compatibility-test.result }}
test ${{ needs.compatibility-test.result }} == "success"