File tree 33 files changed +33
-102
lines changed
33 files changed +33
-102
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v3
20
- - name : Fetch Go version from .go-version
21
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
22
20
- uses : actions/setup-go@v3
23
21
with :
24
- go-version : ${{ env.GO_VERSION }}
22
+ go-version-file : .go-version
25
23
- name : Run check-default
26
24
run : |
27
25
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v3
20
- - name : Fetch Go version from .go-version
21
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
22
20
- uses : actions/setup-go@v3
23
21
with :
24
- go-version : ${{ env.GO_VERSION }}
22
+ go-version-file : .go-version
25
23
- name : Install libpcap-dev
26
24
run : sudo apt-get install -y libpcap-dev
27
25
- name : Install libsystemd-dev
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Install libsystemd-dev
24
22
run : sudo apt-get install -y libsystemd-dev
25
23
- name : Run check/update
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Install libpcap-dev
24
22
run : sudo apt-get install -y libpcap-dev
25
23
- name : Run check/update
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Install libpcap-dev
24
22
run : sudo apt-get install -y libpcap-dev
25
23
- name : Run check/update
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Install librpm-dev
24
22
run : sudo apt-get install -y librpm-dev
25
23
- name : Run check/update
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Install libpcap-dev
24
22
run : sudo apt-get install -y libpcap-dev
25
23
- name : Run check/update
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
run : |
25
23
go install github.com/magefile/mage
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Install libpcap-dev
24
22
run : sudo apt-get install -y libpcap-dev
25
23
- name : Run check/update
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Fetch Go version from .go-version
19
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
20
18
- uses : actions/setup-go@v3
21
19
with :
22
- go-version : ${{ env.GO_VERSION }}
20
+ go-version-file : .go-version
23
21
- name : Run check/update
24
22
uses : magefile/mage-action@v2
25
23
with :
Original file line number Diff line number Diff line change 28
28
29
29
- uses : actions/checkout@v3
30
30
31
- # Uses Go version from the repository.
32
- - name : Read .go-version file
33
- id : goversion
34
- run : echo "::set-output name=version::$(cat .go-version)"
35
-
36
31
- uses : actions/setup-go@v3
37
32
with :
38
- go-version : " ${{ steps.goversion.outputs. version }} "
33
+ go-version-file : .go- version
39
34
40
35
- name : golangci-lint
41
36
env :
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
Original file line number Diff line number Diff line change 18
18
runs-on : macos-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - name : Fetch Go version from .go-version
22
- run : echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
23
21
- uses : actions/setup-go@v3
24
22
with :
25
- go-version : ${{ env.GO_VERSION }}
23
+ go-version-file : .go-version
26
24
- uses : actions/setup-python@v4
27
25
with :
28
26
python-version : ' 3.9'
You can’t perform that action at this time.
0 commit comments