Skip to content

Update golang to 1.24 #14

Update golang to 1.24

Update golang to 1.24 #14

Workflow file for this run

name: PR Workflow
on:
pull_request:
types: [ synchronize, opened, reopened]
branches: [ 'main' ]
permissions:
contents: read
jobs:
linter:
name: Linter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.24'
cache: false
- name: Check Go Formatting
run: |
files=$(gofmt -l .) && echo $files && [ -z "$files" ]
- name: Golang CI Lint
uses: golangci/golangci-lint-action@v6
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.24'
- name: Unit tests
run: |
make test_unit