mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat: Upgrade GitHub Actions to v4 for greater stability (#304)
* ci: Upgrade GitHub Actions to v4 for greater stability - Close #303 - Upgrade GitHub Actions to v4 in all workflows - Fix zipping and uploading of Linux arm64 assets in release workflow - Simplify and remove unnecessary steps in build workflow
This commit is contained in:
@@ -18,16 +18,13 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Set up Go ${{ matrix.goVer }}
|
||||
uses: actions/setup-go@v1
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ${{ matrix.goVer }}
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set Git to handle line endings consistently
|
||||
run: git config --global core.autocrlf false
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Format Check
|
||||
if: matrix.os != 'windows-latest'
|
||||
@@ -35,9 +32,7 @@ jobs:
|
||||
diff -u <(echo -n) <(gofmt -d .)
|
||||
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
go get -v -t -d ./...
|
||||
go get gopkg.in/check.v1
|
||||
run: go get -v ./...
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
Reference in New Issue
Block a user