Use ParseUint to test for overflow directly #403
Workflow file for this run
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
on: [push, pull_request] | |
name: Build | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
check-latest: true | |
cache: true | |
- name: Set Hosts | |
run: | | |
echo "127.0.0.1 example.com example2.com" | sudo tee -a /etc/hosts | |
- name: Test | |
run: | | |
export PATH=$PATH:$HOME/bin:$HOME/go/bin | |
make github |