diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index ba1e16a..b4d1d06 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -18,13 +18,11 @@ jobs: go-version: ['', 'oldstable', 'stable'] steps: - # git show-ref v4.2.2 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # git show-ref v4.2.2 with: fetch-depth: 0 - name: Setup Go version ${{ matrix.go-version }} - # git show-ref v5.4.0 uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # git show-ref v5.4.0 with: # Uses the condition found in here (https://github.com/actions/setup-go?tab=readme-ov-file#getting-go-version-from-the-gomod-file) @@ -32,7 +30,6 @@ jobs: go-version-file: 'go.mod' - name: Lint with ${{ matrix.go-version }} - # git show-ref v6.5.2 uses: golangci/golangci-lint-action@8564da7cb3c6866ed1da648ca8f00a258ef0c802 # git show-ref v6.5.2 with: args: --timeout=3m --verbose diff --git a/.github/workflows/local.yml b/.github/workflows/local.yml index dc2269d..a5bcd34 100644 --- a/.github/workflows/local.yml +++ b/.github/workflows/local.yml @@ -16,24 +16,21 @@ jobs: strategy: matrix: # Uses some of the solutions found here (https://github.com/actions/setup-go/issues/450) - go-version: ['', 'oldstable', 'stable'] + go-version: [''] steps: - # git show-ref v4.2.2 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # git show-ref v4.2.2 with: fetch-depth: 0 - name: Setup Go version ${{ matrix.go-version }} - # git show-ref v5.4.0 uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # git show-ref v5.4.0 with: # Uses the condition found in here (https://github.com/actions/setup-go?tab=readme-ov-file#getting-go-version-from-the-gomod-file) - go-version: ${{ matrix.go-version }} + # go-version: ${{ matrix.go-version }} go-version-file: 'go.mod' - name: Lint with ${{ matrix.go-version }} - # git show-ref v6.5.2 uses: golangci/golangci-lint-action@8564da7cb3c6866ed1da648ca8f00a258ef0c802 # git show-ref v6.5.2 with: args: --timeout=3m --verbose diff --git a/README.md b/README.md index bd7bf0a..4c04f68 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,6 @@ jbowen.dev/cereal (download) * [x] Add systemd.service and explanation * [x] Add Dockerfile and explanation * [x] Add mirror to Github -* [ ] Add Github action +* [ ] Add Github action (self-hosted, [act](https://github.com/nektos/act), Github) * [ ] Figure how to use `goreleaser` [here](https://nfpm.goreleaser.com/) to release deb and rpm packages (so basically split it, goreleaser for github and woodpecker for Woodpecker) * [ ] Update README.md