chore: Update golang to 1.24, add tools usage, update libraries to recent versions, remove deprecated libraries and fix linting #168
This file contains hidden or 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: "Pull Request" | |
on: pull_request | |
jobs: | |
docs: | |
name: "Ensure 'make docs' has been run" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate Docs | |
run: | | |
export PATH=$PATH:/home/runner/go/bin | |
make docs | |
- name: Validate No Changes | |
run: | | |
git diff --exit-code | |
gofmt: | |
name: "Ensure 'make fmt' has been run" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run gofmt | |
run: | | |
go fmt | |
- name: Validate No Changes | |
run: | | |
git diff --exit-code |