fix ntpdate compilation on 32bit platform (#371) #1067
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: lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- run: sudo apt-get install libpcap-dev | |
- uses: golangci/golangci-lint-action@v3 | |
- run: | | |
go get -v -u github.com/u-root/u-root/tools/checklicenses | |
go run github.com/u-root/u-root/tools/checklicenses -c .github/workflows/config.json |