Skip to content

Commit

Permalink
Updated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag committed Sep 13, 2024
1 parent e679b49 commit 9da214a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 82 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Generate change log
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
uses: heinrichreimer/github-changelog-generator-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
headerLabel: "# Changelog"
Expand All @@ -24,7 +24,7 @@ jobs:
- name: "🖨️ Print changelog to console"
run: cat CHANGELOG.md
- name: "📤 Upload changelog"
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "Changelog"
path: CHANGELOG.md
73 changes: 0 additions & 73 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:

steps:
- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.22
- run: go version

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/staticcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "StaticCheck"

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
ci:
Expand All @@ -16,10 +16,10 @@ jobs:
go: ["1.22.x"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: WillAbides/setup-go-faster@v1.7.0
- uses: WillAbides/setup-go-faster@v1
with:
go-version: ${{ matrix.go }}
- run: "go test ./..."
Expand Down

0 comments on commit 9da214a

Please sign in to comment.