fix: bump all action versions (#83) #217
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repo | |
| uses: actions/checkout@v4 | |
| - name: install nix | |
| uses: cachix/install-nix-action@v31 | |
| - name: configure cache | |
| uses: DeterminateSystems/magic-nix-cache-action@main | |
| - name: check flake | |
| run: nix -Lv flake check | |
| - name: get latest tag | |
| id: latest | |
| uses: actions-ecosystem/action-get-latest-tag@v1 | |
| - name: parse changelog | |
| id: changelog | |
| uses: coditory/changelog-parser@v1 | |
| - name: create release | |
| id: release | |
| uses: softprops/action-gh-release@v2 | |
| if: github.ref == 'refs/heads/main' && steps.changelog.outputs.version != steps.latest.outputs.tag | |
| with: | |
| files: ${{ steps.package.outputs.path }} | |
| body: ${{ steps.changelog.outputs.description }} | |
| tag_name: ${{ steps.changelog.outputs.version }} | |