diff --git a/.github/workflows/autodep.yml b/.github/workflows/autodep.yml index 1e4b7c3..e2a625a 100644 --- a/.github/workflows/autodep.yml +++ b/.github/workflows/autodep.yml @@ -1,9 +1,6 @@ -env: - GO_VERSION: 1.20 - on: workflow_dispatch: - +name: Update package dependencies jobs: dep_update: runs-on: ubuntu-latest @@ -13,7 +10,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: ${{ env.GO_VERSION }} + go-version: 1.20.x - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4e3a0f2..f483fe6 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,6 +1,3 @@ -env: - GO_VERSION: 1.20 - on: workflow_dispatch: pull_request: @@ -9,7 +6,7 @@ on: branches: - main - master -name: Check +name: Run checks jobs: check: runs-on: ubuntu-latest @@ -17,11 +14,11 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: ${{ env.GO_VERSION }} + go-version: 1.20.x - name: Get StaticCheck - run: go install honnef.co/go/tools/cmd/staticcheck@2eef17617de2b0c8051063b2c590a6a91459a19a # Version 2023.1.2 (v0.4.2) + run: go install honnef.co/go/tools/cmd/staticcheck@v0.4.2 # Version 2023.1.2 (v0.4.2) - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive - name: Gomod diff --git a/.github/workflows/gotip.yml b/.github/workflows/gotip.yml index 1835f9c..e3b2097 100644 --- a/.github/workflows/gotip.yml +++ b/.github/workflows/gotip.yml @@ -6,7 +6,7 @@ on: branches: - main - master -name: Test Go Tip +name: Test Go tip jobs: test: runs-on: ubuntu-latest @@ -21,7 +21,7 @@ jobs: gotip download gotip version - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive - id: Cache diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4dda32f..dfe50c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: branches: - main - master -name: Test +name: Run tests jobs: test: strategy: @@ -20,7 +20,7 @@ jobs: with: go-version: ${{ matrix.go-version }} - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive - id: Cache